# 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=20210923 _gitver=62441f574d070a2dbf7ecbe1cc2e914095cd69f7 pkgrel=1 arch=('any') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver}) sha512sums=('72ce58b2e11cddc7c1f868223d5e5cc40ab92d7c39971730eb29ec8770703c577b41aa6133b2c207b29ebbd49847ee95ebe1a58a08270c5e6d7fb59c6eeb321a') 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 }