blob: 4131b12e7c2e3b02f3f0613cb6bba57d92ded59e (
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
|
# 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=20200806
_gitver=c12a480eaac0e95ffecf85e3405178da79f4ec4c
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=('63b60826df505c4bfb141a26ec4985901c949f411f85de60edf2f3b2bd8fa789feb98aed2e2392f83084d0ed6c9d85bdc41b4f021ff87aacbbf33f89e36e19f9')
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
}
|