# 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=20180107 _gitver=7d9b76e69aa1cfd04e3f87382837297f9f2c76bb 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=('a20bbd4ebeedbf446be7b6d3e71b5eba6412204585a2ad9aad3f1ce94a76ac5a23fe2707b493c758e6c2fa458effeaafb5ec11c1b74f520f89b31211ff19306c') 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 }