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