# 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=20171219 _gitver=86f06b9727d83b97993aa7862b5b6471b39ad933 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=('0c3d77cf54515036f98e30e8c4f4f4e34bc40c9d32e1d7ebb89f468246e21ee141852f72f2a59260ddc257ec3daea4accfce9d4702454e941b8ef20db1c825b6') 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 }