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