pkgname=your-freedom pkgdesc="This package conflicts with every proven nonfree package to ensure your system is free." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20171017 pkgrel=1.arcfour1 arch=('any') groups=('base' 'base-openrc') makedepends=(librelib) source=(blacklist.txt) sha512sums=('4a7b2670829799780e261a17d4284a2a52d6bd78a3161954d3534261d26370feddf32b79ef86c47f51baf2d936f656fda7317f1bdf46b858323684a1b89f755f') package() { cd "$srcdir" conflicts=($( < blacklist.txt \ libreblacklist normalize | cut -d: -f1,2 | sed -n 's/:$//p' | sort -u )) install -Dm644 blacklist.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt }