blob: 444c4236c631dd7610dc8f882249af98ab769bd8 (
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=20220428
_gitver=e452f2fe155467ed7996ef23edb959fd30af868c
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
}
|