# 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=20200121 _gitver=edda5df5cc61035fa4931cb1f4ced3d87d7d4cf1 pkgrel=1 arch=('any') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver}) sha512sums=('985f06fbdb2ef2cb318bed2e9106421223983b4adb056414f1f0cbfb8f684262184ac0c36f67c235d7ad70e3426c0207d78287ca1f28bdd89a192e95b51789ea') 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 }