blob: 73109bb0b2c776c7900aaffbe63031a304a3b833 (
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=20180107
pkgrel=1.arcfour1
arch=('any')
groups=('base' 'base-openrc')
makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('33748e358a8039e9a3df179d386c9b1e2a0855f53e14c7fa3f829a83db5c82b0496506146835147ad617493c39022a4b3f41f6388517e79be43d101ebec50d9f')
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
}
|