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

# # I maintain this because:
# Parabola has some dubious blacklisting decisions

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=20181002
pkgrel=1

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

makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('27d2470ef4ea6df789f437f365c0586f99accb886bfd4d30cf1fc18670a54467ddcc8788383c7912760cf549ee2574c33d8a9d8f9c9f18f7fe512fb7d5756fe7')

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
}