blob: fc9e778d995903576f4a5f17347cd38ff19aaa18 (
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
|
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
pkgname=your-freedom
pkgver=20220426
_gitver=8e51fb4416d67ca8ad4b677e865721b15c3bef57
pkgrel=1
pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free."
license=(GPL3)
url=https://wiki.parabola.nu/Blacklist
arch=(any)
install=${pkgname}.install
makedepends=(librelib)
source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver})
sha256sums=('fd936f329c6f38e417a0d30b8155a6d3005935f75b429532ae5c0b0bd2eed6fc')
package()
{
# collect blacklisted package names as pacman conflicts,
# also to be excluded by the repo importer, and rejected by libremakepkg
conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \
cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) )
install -Dm644 blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt
}
|