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=20171230 pkgrel=3.arcfour1 arch=('any') groups=('base' 'base-openrc') makedepends=(librelib) source=(blacklist.txt) sha512sums=('7026c219c39289f7ebbe33649a3f2c396144c998b60e2fd86a7aacbced070dedbaf98d9e95fa3ad6c393f31926d05f80b6cc24f1f0c57698db2f804375633ac2') 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 }