blob: 873a57cc4f1d2974c66e181d19b9fad4bda4ed7c (
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=20180626
pkgrel=1
arch=('any')
groups=('base' 'base-openrc')
makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('a7e8090c45c7fda81ab2e3b96fcb4675461ce4c3bb2fc2e37a92a5f9d822d9102022ea0f9142dd43ba423059f93e2bf8420f22121a2a8f2cda322690401a5994')
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
}
|