# Maintainer: Parabola Project pkgname=your-freedom pkgver=... _gitver=... pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free." license=('GPL3') url="https://projects.parabolagnulinux.org/blacklist.git" pkgrel=1 arch=('any') groups=('base') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/blacklist.txt?id=${_gitver}) md5sums=('5fd14982619414fea1882b351607291e') package() { cd "$srcdir" conflicts=($( < blacklist-${pkgver}.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 }