blob: f2769a0097baf8ece315aabcf677153314ca974e (
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=20171024
pkgrel=1.arcfour1
arch=('any')
groups=('base' 'base-openrc')
makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('b311b67957bef7a7d6b6b4a7b70cfa47b0cf7639bc62322fa192cb2f4a54476830a8de7b5482afe1211ed6af3521b2fae1c99475044f49355cdd790b19dfaa29')
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
}
|