# 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=20190309 _gitver=485bda3fd18bc754a6649be7ca2a7264fc332532 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=('cae861342d736d2e0438bfe476ee9f482d6ffd467398ae99b013850ffe2979fb47d2bae441080617db193153e248c798d1e05c4a08259420518284411e8cc8e1') 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 }