# Maintainer: Parabola Project pkgname=your-privacy pkgdesc="This package will remove support for protocols and services known to endanger privacy." license=('GPL3') url="https://git.parabola.nu/blacklist.git" pkgver=20200511 _gitver=e1631bc6d63bbfaa7a37e30f40dbb569249f62c9 pkgrel=1 arch=('any') install=${pkgname}.install makedepends=(librelib) source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) sha512sums=('39bc1cd312c155a1c799c889dc837d3c35b23bc309af5a3bbc82599e7dd9406fac6781a72d71e13907a06e5b47eccbe652522a4509878315ac161c5ec8b4d221') 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 }