# Maintainer: Mike Yuan pkgname=systemd-cleanup-pacman-hook pkgver=3 pkgrel=1 pkgdesc="Pacman hook to stop and disable systemd units before removing packages" arch=('any') url="https://github.com/YHNdnzj/systemd-cleanup-pacman-hook" license=('MIT') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('a58b8229892d0ea4b2f44caacb8d9f82d01665f5ebb96cd8b96c8d9c5012b559') package() { depends=('findutils' 'systemd') cd "$pkgname-$pkgver" install -Dm644 systemd-cleanup.hook "$pkgdir/usr/share/libalpm/hooks/systemd-cleanup.hook" install -Dm755 systemd-cleanup "$pkgdir/usr/share/libalpm/scripts/systemd-cleanup" install -Dm644 README.md "$pkgdir/usr/share/doc/systemd-cleanup-pacman-hook/README.md" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/systemd-cleanup-pacman-hook/LICENSE" } # vim: set ts=4 sw=4 et: