58 lines
2.7 KiB
Bash
58 lines
2.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgbase=jobbot
|
|
pkgname=(jobbot1 jobbot2)
|
|
pkgdesc='Minimal set of packages to maintain the building chroot for JOBORun Linux'
|
|
pkgver=0.5
|
|
pkgrel=01
|
|
groups=(jobbot)
|
|
source=(README-jobbot.txt Qsq ckchroot)
|
|
|
|
package_jobbot1() {
|
|
cd "$pkgdir"
|
|
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 db 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 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 wget 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"
|
|
depends=( cower opensysusers package-query pacman-contrib jobbot1)
|
|
conflicts=(dbus)
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('ISC')
|
|
|
|
sha256sums=(7f0b1d6bff4b8ce726c9acf68e86f6cc88dc9c7e60b6567048427c9f26dd3bfd # README-jobbot.txt
|
|
986ec4f267c39e1dd03dcb6e1c38b4350a451abed8761d0a9ff3da152a21df12 # Qsq
|
|
50febbb21bb779f43b93c7f8e65ba4cbff0c6b32cddd45ecb9118fc801581d99) # ckchroot
|
|
|
|
## 849a70a9ce7b86a6f9e489e8d31aacb07fa9b5ce579af67aae8e09b5d69e3ae9 jobbot1-0.5-01-x86_64.pkg.tar.lz
|
|
## 25bb08ec40a0933c99636d4a80bbc871906b7e8d12e932bb1ecb7ab2db572408 jobbot2-0.5-01-x86_64.pkg.tar.lz
|