# Maintainer: Parabola Project pkgname=your-initfreedom pkgdesc="This package will remove support for systemd." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20180511 _gitver=c7fb2f104f7d4c0110b5e152b8ef6385509df0e8 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=('c908ddf2329f149cd1d84f22656e1c910c22799f47828a2d09f8c20745ab12fd0e8ba714af3eab528ff71d92b83767f9a9aff3dd80d2f800798468ad3f3e96fe') 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 }