blob: d00fdf3f5d81d5ce34146f5028444f8ed77509ec (
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=20220125
_gitver=e1f72a8fcf0a29b25b489d5ca8ce698a8a597a1f
pkgrel=1
arch=('any')
install=${pkgname}.install
makedepends=(librelib)
source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver})
sha512sums=('c49954a49ffce0e4c7454a9469d7f066e3c58358c35703705e617628fc1ed81d064bd4c48b9508de7f77c75e424cf2366d6c500139fa9006c7032a80c13d567e')
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
}
|