#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgbase=jobbot pkgname=(jobbot jobbot1 jobbot2) pkgver=0.5 pkgrel=04 groups=(jobbot) source=(README-jobbot.txt Qsq ckchroot) install=$pkgbase.install package_jobbot() { pkgdesc='Dummy package to replace previous jobbot on current building environments with jobbot1 & 2' cd $pkgdir conflicts=(jobbot1) } package_jobbot1() { cd "$pkgdir" pkgdesc='Minimal set of packages to maintain the building chroot for JOBORun Linux while building' replaces=(jobbot) conflicts=(jobbot) depends=( acl archlinux-keyring obarun-keyring joborun-keyring attr audit bash binutils brotli bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils coreutils curl diffutils e2fsprogs elfutils expat fakeroot file filesystem findutils flex gawk gc gcc gcc-libs gdbm glib2 glibc gmp gnupg gnutls gpgme grep groff guile gzip hwdata iana-etc icu iproute2 iptables iputils jansson json-c keyutils kmod krb5 less libarchive libassuan libcap libcap-ng libelf libeudev libffi libgcrypt libgpg-error libidn2 libisl libksba libldap libmnl libmpc libnetfilter_conntrack libnfnetlink libnftnl libnghttp2 libnghttp3 libnl libp11-kit libpcap libpsl libsasl libseccomp libsecret libssh2 libtasn1 libtirpc libtool libunistring libusb libutempter libverto libxcrypt licenses linux-api-headers lmdb lz4 lzip m4 make mpfr nano ncurses nettle npth numactl openssl p11-kit pacman pacman-mirrorlist pam pambase patch pciutils pcre pcre2 perl pinentry pkgconf procps-ng psmisc readline sed shadow sqlite sudo tar texinfo tpm2-tss tzdata util-linux util-linux-libs which xz yajl zlib zsh zstd ) install -d -m777 "$pkgdir"/src install -Dm644 "$srcdir"/README-jobbot.txt "$pkgdir"/src/README-jobbot.txt install -Dm644 "$srcdir"/Qsq "$pkgdir"/src/Qsq # When jobbot is installed this can be produced # ... by running 'pacman -Qsq >/src/Qsq' install -Dm755 "$srcdir"/ckchroot "$pkgdir"/usr/local/bin/ckchroot # This ckchroot script runs 'pacman -Qsq >/tmp/Qsq' and then compares it to /src/Qsq } package_jobbot2() { cd "$pkgdir" pkgdesc='Minimal set of packages to maintain the building chroot for JOBORun Linux in between builds' depends=(jobbot1 cower opensysusers package-query pacman-contrib wget) conflicts=(dbus db) } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('ISC') sha256sums=(8a59c39d01a41cc7146da2c4b4f1643db361ea247e91a8d01c6a191a84fa3d14 # README-jobbot.txt 9f62afc6c68a29017c5ef3a89ee1116802fdc6482ce65857cac79d64e5c51e23 # Qsq 50febbb21bb779f43b93c7f8e65ba4cbff0c6b32cddd45ecb9118fc801581d99) # ckchroot ## 7e0478c9db97f594f4aa32cb6c673ec5a58f3ffcc36e3506437abf4d66676cbc jobbot-0.5-04-x86_64.pkg.tar.lz ## 8e71584c9faf275988d21fa3d6467b1945ed6f4871efd60f9a817d8e9ba5f4e8 jobbot1-0.5-04-x86_64.pkg.tar.lz ## 83f85850469737bda6ab8e2b0aafc6d1d2107e13204040c49bd826e0602bc870 jobbot2-0.5-04-x86_64.pkg.tar.lz