blob: 2396f0dc455805b923f5dbe8a0e8f698d1803c05 (
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=1
arch=('any')
groups=('base' 'base-openrc')
makedepends=(librelib)
source=(blacklist.txt)
sha512sums=('adaa543a3455f78a37d6c1a2a483d4dbccdc518da3101660490516f5c32edf9094a2f46e78f7563bab2148c1fef6b9f3ea1f04a4c8b1d4b25e85b663401c7196')
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
}
|