summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 21642a8338aa0a7978d51e743d4812e21401f6b8 (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
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (Parabola): Parabola Project <dev@lists.parabola.nu>

pkgname=your-freedom
pkgdesc="This package conflicts with every proven nonfree package to ensure your system is free."
license=('GPL3')
url="https://git.parabola.nu/blacklist.git"
pkgver=20180823
pkgrel=1

arch=('any')
groups=('base' 'base-openrc')

makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('a8d3b3a6f9067c159cf6c45e9abbb1e072269bbc68b127dd51826984e79be971cc9d6af369055fb8d0fed6fae44204482ce8e3faa6fefee95f7f3e2efc4a974c')

package() {
	cd "$srcdir"

	conflicts=($(
		< blacklist.txt \
		libreblacklist normalize |
		cut -d: -f1,2 |
		sed -n 's/:$//p' |
		sort -u
		))

	install -Dm644 blacklist.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt
}