summaryrefslogtreecommitdiff
path: root/nonprism/your-privacy/PKGBUILD
blob: 1e5427a10ff84a923153b0ba0c966be219d8fc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Parabola Project <dev@lists.parabola.nu>

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=20200110
_gitver=9fae2545a8c105a92612b0e056b9d786083de56f
pkgrel=1

arch=('any')
groups=('base' 'base-openrc')
install=${pkgname}.install

makedepends=(librelib)
source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver})
sha512sums=('5e3ab7dfabf19123bfdc83c673dd9a898910ea4eb532ea236e86eb784b3fd57b73682b52f1336cad07ea1d0029556a9b09b74522cb418398e767f65893f07e19')

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
}