# 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=20200113 _gitver=d0ee72c14eb776c1d5273c2d1298ef6f3a330255 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=('fb7761270538d93bb65d0c0cc6b5509c65639fbdde2ed68228f46015ce474574c37a85f4c3d3dcb2f81ea6be205ef8c66c86e7701d4f29107aa7fcc3e6630b08') 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 }