# Maintainer: Parabola Project pkgname=your-freedom_emu pkgdesc="This package removes emulators that runs free games and/or OS technically." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20190612 _gitver=3acbf849647f986e3004e7d24ff5a89b17e0a641 pkgrel=2 arch=('any') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) sha512sums=('cd14fde5c5a1e3727fb637d76dc4619745a68a965cbda01aa9f6d5b17516eaa944c4c5c99b947ced7afa433660ff02241945fe14a652e38756192fcda89e6d3f') 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 }