blob: cf84035046a6583fce3c9a680a2c9bdeccdd7273 (
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=20210108
_gitver=b5688ab7a9f59d21e18a6951461900d704570dda
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=('6c81716f26c6f9e6c7746a4f32c606bc83414986dfb0d7f44693a716b566194dbc0479137b6da26685c4c075496999b24823c8570f28438cdc1675787f64fe13')
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
}
|