blob: d991a24b2049287226fd382ddbf6522b19cd9f41 (
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
32
33
34
35
36
37
38
39
|
# SPDX-License-Identifier: CC0-1.0
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
# NOTE: This PKGBUILD does not need to be edited manually.
# The package is normally built automatically by the auto-builder.
# To generate a new package, simply push changes to blacklist.git.
# If ${pkgname}-blacklist.txt is modified, the auto-builder will
# replace $pkgver, $_srcver, and the checksum (updpkgsums),
# build and publish the package, and commit the changes to abslibre.
pkgname=your-freedom
pkgver=20240502
_srcver=502596e6871d4e02a345a3ae49ce2b242dc31d94
pkgrel=1
pkgdesc="This meta-package conflicts with every known non-free Arch package"
arch=(any)
url=https://wiki.parabola.nu/Blacklist
license=(custom:CCPL:zero)
# license=('CCPL:zero') # TODO: NYI
makedepends=(librelib)
install=${pkgname}.install
_srcname=${pkgname}-blacklist-${_srcver}.txt
source=(${_srcname}::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_srcver})
sha256sums=('7f02e5a1e4d03b2a73d2059ca75dc66a6b78b499c191c1db1f8df9494acc4d7e')
package()
{
# collect blacklisted package names as pacman conflicts,
# also to be excluded by the repo importer, and rejected by libremakepkg
conflicts=( $( libreblacklist normalize < ${_srcname} | \
cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) )
install -Dm644 ${_srcname} "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt
}
|