# Maintainer: Parabola Project pkgname=your-freedom pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20170827.1 _gitver=212c2ee62f8b6553b6704a1e45e24f6e7c09b36e pkgrel=1 arch=('any') groups=('base' 'base-openrc') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver}) sha512sums=('bbbc3b3d99b993716ed6c308262910a0cd38af50b8540a3e69d6825c4fbcd347ec74c9aa65e630473945d6be753fea5c5e3b4320fb633e53b061524474533c95') package() { cd "$srcdir" conflicts=($( < blacklist-${_gitver}.txt \ libreblacklist normalize | cut -d: -f1,2 | sed -n 's/:$//p' | sort -u )) install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt }