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=20170710 pkgrel=1 arch=('any') groups=('base' 'base-openrc') makedepends=(librelib) source=(blacklist.txt) sha512sums=('0c8b8f7b5e8ad54e13167a1f78fb3513722ed32d9e77e5f8e42cc30e1de4e10940560b1316168659ab878eaabec55412daec3948ea97e10a611bd3256bf029a2') validpgpkeys=( '081E4760E5FCD76098A304E43A85CAFF5C61486A' # jc_gargma ) 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 }