blob: 618e71f0784b7f0f92e7be05cd77b65cf2f89c88 (
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
29
30
31
|
# Maintainer: Parabola Project <dev@lists.parabola.nu>
pkgname=your-freedom
pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free."
license=('GPL3')
url="https://git.parabola.nu/blacklist.git"
pkgver=20171230
_gitver=45af41c04eaa222e65c84dec35eee5517a977182
pkgrel=1
arch=('any')
groups=('base' 'base-openrc')
install=${pkgname}.install
makedepends=(librelib)
source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver})
sha512sums=('ef6d4723aa3ad7554b68a19a1d420e33d9c00501d4d098f4c4e6d0d5b1fcf0c3fc6b5b80dfbd9063fcf890debbca9fd3e7db8c5c11ebba6e7b237debd9603209')
package() {
cd "$srcdir"
conflicts=($(
< blacklist-${_gitver}.txt \
libreblacklist normalize |
cut -d: -f1,2 |
sed -n 's/:$//p' |
sort -u
))
install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt
}
|