# 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=20220125 _gitver=e1f72a8fcf0a29b25b489d5ca8ce698a8a597a1f 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=('c49954a49ffce0e4c7454a9469d7f066e3c58358c35703705e617628fc1ed81d064bd4c48b9508de7f77c75e424cf2366d6c500139fa9006c7032a80c13d567e') 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 }