# Maintainer: Parabola Project pkgname=your-initfreedom pkgdesc="This package will remove support for systemd." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20180625 _gitver=7111d310c8bbf1f0c546adbc014f282a0c82deb8 pkgrel=1 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}) sha512sums=('dd774e7ee48927751ff44e863dc12073239ad44e22b61fe87346e3a9298e6c149c53ab4c9b83ecff6ef554df8e835392b555531361a74cee99fb32d0badea58a') pkgver() { date +%Y%m%d } package() { cd "$srcdir" conflicts=($( < blacklist-${_gitver}.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 }