# 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=20190211 _gitver=20567813917763f2009d91c7392313b269dadd5d 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=('b5cee4eb1f3b1f85461614fd177a4a0fc4625c143e273a43caa71d1d2a706b22279c5c7bc3eb62975f9da77de0e0fa844aea75c48c8bc6ca975b2eb653abc535') 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 }