2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2024-08-22 17:58:58 +02:00
|
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
2022-03-20 13:19:37 +01:00
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
2024-02-04 03:18:18 +01:00
|
|
|
pkgbase=jobbot
|
2024-02-08 20:20:40 +01:00
|
|
|
pkgname=(jobbot jobbot1 jobbot2)
|
2024-02-04 03:18:18 +01:00
|
|
|
pkgver=0.5
|
2024-07-07 01:09:47 +02:00
|
|
|
pkgrel=04
|
2024-02-04 03:18:18 +01:00
|
|
|
groups=(jobbot)
|
|
|
|
source=(README-jobbot.txt Qsq ckchroot)
|
2024-06-13 18:41:35 +02:00
|
|
|
install=$pkgbase.install
|
2023-08-09 02:00:39 +02:00
|
|
|
|
2024-02-08 20:20:40 +01:00
|
|
|
package_jobbot() {
|
|
|
|
pkgdesc='Dummy package to replace previous jobbot on current building environments with jobbot1 & 2'
|
|
|
|
cd $pkgdir
|
|
|
|
conflicts=(jobbot1)
|
|
|
|
}
|
|
|
|
|
2024-02-04 03:18:18 +01:00
|
|
|
package_jobbot1() {
|
2023-08-09 02:00:39 +02:00
|
|
|
cd "$pkgdir"
|
2024-02-08 20:20:40 +01:00
|
|
|
pkgdesc='Minimal set of packages to maintain the building chroot for JOBORun Linux while building'
|
2024-02-04 03:18:18 +01:00
|
|
|
replaces=(jobbot)
|
|
|
|
conflicts=(jobbot)
|
2023-08-09 02:00:39 +02:00
|
|
|
depends=( acl archlinux-keyring obarun-keyring joborun-keyring attr audit bash
|
2022-03-20 13:19:37 +01:00
|
|
|
binutils brotli bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils
|
2024-06-13 18:41:35 +02:00
|
|
|
coreutils curl diffutils e2fsprogs elfutils expat fakeroot file
|
2022-03-20 13:19:37 +01:00
|
|
|
filesystem findutils flex gawk gc gcc gcc-libs gdbm glib2 glibc gmp gnupg gnutls gpgme
|
2024-02-04 03:18:18 +01:00
|
|
|
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
|
2024-07-07 01:09:47 +02:00
|
|
|
libverto libxcrypt licenses linux-api-headers lmdb lz4 lzip m4 make mpfr nano ncurses nettle
|
2024-02-04 03:18:18 +01:00
|
|
|
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
|
2024-02-08 20:20:40 +01:00
|
|
|
tpm2-tss tzdata util-linux util-linux-libs which xz yajl zlib zsh zstd )
|
2022-03-20 13:19:37 +01:00
|
|
|
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
|
2023-09-03 20:53:47 +02:00
|
|
|
# ... by running 'pacman -Qsq >/src/Qsq'
|
2022-06-21 21:47:09 +02:00
|
|
|
install -Dm755 "$srcdir"/ckchroot "$pkgdir"/usr/local/bin/ckchroot
|
2023-09-03 20:53:47 +02:00
|
|
|
# This ckchroot script runs 'pacman -Qsq >/tmp/Qsq' and then compares it to /src/Qsq
|
2022-03-20 13:19:37 +01:00
|
|
|
}
|
|
|
|
|
2024-02-04 03:18:18 +01:00
|
|
|
package_jobbot2() {
|
|
|
|
cd "$pkgdir"
|
2024-02-08 20:20:40 +01:00
|
|
|
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)
|
2024-06-13 18:41:35 +02:00
|
|
|
conflicts=(dbus db)
|
2024-02-04 03:18:18 +01:00
|
|
|
}
|
|
|
|
|
2023-06-15 17:39:46 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
license=('ISC')
|
|
|
|
|
2024-06-13 18:41:35 +02:00
|
|
|
sha256sums=(8a59c39d01a41cc7146da2c4b4f1643db361ea247e91a8d01c6a191a84fa3d14 # README-jobbot.txt
|
2024-07-07 01:09:47 +02:00
|
|
|
9f62afc6c68a29017c5ef3a89ee1116802fdc6482ce65857cac79d64e5c51e23 # Qsq
|
2022-03-20 13:19:37 +01:00
|
|
|
50febbb21bb779f43b93c7f8e65ba4cbff0c6b32cddd45ecb9118fc801581d99) # ckchroot
|
2022-06-21 21:47:09 +02:00
|
|
|
|
2024-07-07 01:09:47 +02:00
|
|
|
## 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
|
2024-06-13 18:41:35 +02:00
|
|
|
|