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=20170905 pkgrel=1.arcfour1 arch=('any') groups=('base' 'base-openrc') makedepends=(librelib) source=(blacklist.txt) sha512sums=('7c40080746dba7974dd30816f87bfa6dce6394300697ed5854f500d234a043a9fea26b5ebbb483258a218a3175360146220ce8c4287bbcb25c2e6ed329fc2c2c') 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 }