jobcore/jobbot/PKGBUILD
2022-03-20 14:19:37 +02:00

45 lines
2.3 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 |---------------------------------------
pkgname=jobbot
pkgdesc='Minimal set of packages to maintain the building chroot for JOBORun Linux'
pkgver=0.1
pkgrel=02
groups=( jobbot )
arch=(x86_64)
source=( README-jobbot.txt Qsq ckchroot)
depends=( acl archlinux-keyring obarun-keyring joborun-keyring attr audit bash
binutils brotli bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils
coreutils cower curl db dbus 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 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 libnl libp11-kit libpcap libpsl libsasl libseccomp
libsecret libssh2 libtasn1 libtirpc libtool libunistring libxcrypt licenses linux-api-headers
lz4 m4 make mpfr nano ncurses nettle npth numactl openssl opensysusers p11-kit package-query pacman
pacman-contrib pacman-mirrorlist pam pambase patch pciutils pcre pcre2 perl pinentry
pkgconf procps-ng psmisc readline sed shadow sqlite sudo tar texinfo tzdata util-linux
util-linux-libs wget which xz yajl zlib zsh zstd )
package() {
cd "$pkgdir"
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/bin/ckchroot
# This ckchroot script runs 'pacman -Qsq >/tmp/Qsq' and then compares it to /src/Qsq
}
#---- license gpg-key sha512sums ----
license=('ISC')
sha256sums=(b8d35ce63241ebd38ba6fde17894bbb5b0c334b165789fd0454530c20b25ed75 # README-jobbot.txt
9bf4da3e4cfd1830fd43821946b573bf56e253a951691181142559197397b139 # Qsq
50febbb21bb779f43b93c7f8e65ba4cbff0c6b32cddd45ecb9118fc801581d99) # ckchroot