# Maintainer: Parabola Project pkgname=your-initfreedom pkgdesc="This package will remove support for systemd." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20180509 _gitver=ce104115ea671c4dd4bf7dc0b70ba9cf40948ee3 pkgrel=2 arch=('any') groups=('base-openrc') install=${pkgname}.install makedepends=(librelib) # source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) source=(${pkgname}-blacklist.txt) sha512sums=('8f49cfff0b631fd5e48b7093240f9c1e3b5cc9cc7b939c39ecb7ca7d8ebbf1ca277fea78d9f8e332a04a46749338615b6aa2d76ba3f05685a162216997c41b25') pkgver() { date +%Y%m%d } package() { cd "$srcdir" conflicts=($( < ${pkgname}-blacklist.txt \ libreblacklist normalize | cut -d: -f1,2 | sed -n 's/:$//p' | sort -u )) # install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt install -Dm644 ${pkgname}-blacklist.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt }