# 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=20180117.1 _gitver=1725b29186419f67295effe7e7761ca2ea4aaa83 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=('fadfc2360cd7ee10ae6943e4f84a94f96667d5d7d64ed4f3fe2c3739c936aaaf155c8f3af784aa7f3457f84e75db356b3323190066f5ca3d28c928d5e994eac0') 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 }