# Maintainer: Mike Yuan pkgname=systemd-cleanup-pacman-hook pkgver=8.1 pkgrel=2 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") b2sums=('22c8b19e71c27cea82326886d26df840d19f4880fa1803e10faa0d9b15aa977ffc664f95df5486c40b274180ed014bd44a532f63d3ae8469ecc1327d1b4c5729') package() { depends=('bash' 'systemd>=253') 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/$pkgname/README.md" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim: set ts=4 sw=4 et: