• Setup a community Repository for Antergos


    @joekamprad
    Nice! 👍 👋

  • @joekamprad
    Just added some PKGBUILDs there. Can you please test if they work for you?
    I tested them and they seem to work.

    Tried also the slick-greeter you added but it is missing file slick-greeter.install.

    Are there any guidelines how to submit packages, i.e. what to include in the PKGBUILDs and possible other files?
    Seems that AUR guidelines are quite good for us too: https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packages
    but some small modifications may be needed. Anyway, it gives a good idea what to have in the submitted packages and their PKGBUILDs.

  • Hi all!

    Just created a small repo (in github) for certain AUR, Arch and my own packages.

    It is here: https://github.com/manuel-192/Antergos/tree/master/Antergos-packages

    The packages include new versions of some (slightly outdated) Antergos packages like yay, yad, and xed.
    And there are also some of my packages like remirror and UserManager, among others.

    But a word of warning: use them at your own risk!
    The packages there are not signed, so nobody can verify the builder. I did the original builds, but I cannot guarantee that nobody can get in the middle with bad intentions. I really don’t know how well github is secured against tampering.
    The packages will, however, be checked with sha512sum after the download, if you use the pkgget program (see below).

    To use this repo, first you should download package pkgget from this repo (to be done only once). This is the package that makes it easy to download and install other packages from this repo.

    To download pkgget, run the following commands (note that the version numbers may change in time):

    cd /tmp
    wget -q https://github.com/manuel-192/Antergos/raw/master/Antergos-packages/pkgget-0.1.2-1-any.pkg.tar.xz.sha512
    wget -q https://github.com/manuel-192/Antergos/raw/master/Antergos-packages/pkgget-0.1.2-1-any.pkg.tar.xz
    sha512sum -c pkgget-0.1.2-1-any.pkg.tar.xz.sha512
    

    If the checksum is not OK, please report it here!
    Now if the checksum returns OK, then install the package with command:

    sudo pacman -U pkgget-0.1.2-1-any.pkg.tar.xz
    

    Now you can install other packages with command pkgget.
    To get brief help, command

    pkgget -h
    

    To install a package, e.g. xed:

    pkgget xed
    

    To see available packages, do

    pkgget --list
    

    If you find any issues, please report them here on this thread!

  • @joekamprad
    Thanks, I must check that my versions will not be outdated. ;)
    If they are, I’ll simply remove them.

  • OK, so I decided to add the latest yay package, since I’m using it myself quite a lot.

  • The ACR (Antergos Community Repository) already has some packages, but of course many more are welcome.
    In addition to having more packages, the last missing piece of the puzzle getting the ACR in heavy use seems to be the signature management of the packages of the repo.

    @joekamprad and others who are willing to help:
    What do you suggest we do:

    • Add signatures to the packages, then pacman can check validity? This is the safest but laborious choice.
    • Make a simpler approach and not use signatures. Then pacman does not check anything, but is simple to do.
    • Some other simple alternative, like e.g. adding sha512sums?
  • OK, some news about this repo: https://github.com/manuel-192/Antergos/tree/master/Antergos-packages

    Now it can be used in the same way as any other repo. The packages and the database are signed, so that gives some more security. The repo can be used quite easily, just follow the instructions on the above link.

    Here are the same instructions. Please test and report here any findings!

    To use the packages of this repo, you need to do these things in your system:

    • edit file /etc/pacman.conf and to the end add the following lines:
    [mgit]
    Server = https://github.com/manuel-192/Antergos/raw/master/Antergos-packages
    SigLevel = Required
    
    • run the following commands:
    sudo pacman-key --recv-keys A1F1B5187D25904B
    sudo pacman-key --lsign-key A1F1B5187D25904B
    

    Now the hard part is done! But still one thing to do: update your repos and packages:

    sudo pacman -Syyu
    

    and you should also see two new package databases (mgit and mgit.sig).

  • @manuel great Meister!

  • @manuel how do you sign and create packages ?

  • @joekamprad
    I use the AUR package repo-add_and_sign with basic options:

    --purge --copy --arch x86_64
    

    That command signs both the database and given packages.

    The best instructions I found are at https://forum.antergos.com/topic/8032/how-to-create-a-custom-repo-for-packages/71 by @fernandomaroto.

    EDIT
    I create the packages using makepkg for each PKGBUILD, so nothing special there.
    I’ve also made some scripts to automate the whole process as much as possible.
    But a working PKGBUILD is needed.

repository12 community12 Posts 31Views 1184
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.