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