# Maintainer: dr460nf1r3 # Contributor: Librewish pkgname=condor-hooks pkgdesc="Additions and enhancements for Condor Linux" pkgver=1.0.0 pkgrel=1 arch=('any') license=('GPL') depends=('pacman' 'pacman-contrib' 'condor-mirrorlist' 'nss-mdns' 'grub' 'awk' 'condor-libs') install=$pkgname.install source=( filesystem.hook condor-hooks-runner condor-hooks-runner.hook lsb-release.hook 90-mkinitcpio-install.hook ) sha256sums=('f2ce7fc0ea9d9fddd2f7065ce722d3e2330a6a5bfcec6f75d840ea65e5a8b4ec' 'd3c359b3d74ce78922318edfd5600a38c2e81d9aa7861bcf2e7ac32e14db0e62' '1626f3c2e656336a67662d73c2be1a6843da368c9311440247543f8db4b90215' '398c03a1f94dd37080e254dc388ae8582a2264ebcd996537ea03962ab438c75d' '5a995d9cb87c2463b9bd8f2ff5dbdee44e88dca98289840e32c5c476bc50b3a8') package() { cd "$srcdir" || exit install -d "$pkgdir"/usr/share/libalpm/hooks install -Dm644 condor-hooks-runner.hook "$pkgdir"/usr/share/libalpm/hooks/condor-hooks-runner.hook install -Dm644 lsb-release.hook "$pkgdir"/usr/share/libalpm/hooks/20-lsb-release.hook install -Dm644 filesystem.hook "$pkgdir"/usr/share/libalpm/hooks/20-os-release.hook install -d "$pkgdir"/etc/pacman.d/hooks install -Dm644 90-mkinitcpio-install.hook "$pkgdir"/etc/pacman.d/hooks/90-mkinitcpio-install.hook install -d "$pkgdir"/usr/share/libalpm/scripts install -Dm755 condor-hooks-runner "$pkgdir"/usr/share/libalpm/scripts/condor-hooks-runner install -d "$pkgdir"/var/lib/condor }