blob: d32948c80e151a3c32ee3271126dfd41883c67d3 (
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
|
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=20180113
pkgrel=2
arch=('any')
groups=('base' 'base-openrc')
makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('80fa0f6191fab043d299449cb38cc13eadaea81dc08adc397d57b31eec8cac7b945f9455c2b7f03fae30b527bf50692d4e8f0c55aeb705acefdb2e642634f315')
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
}
|