# SPDX-License-Identifier: CC0-1.0 # Maintainer: Parabola Hackers # NOTE: This PKGBUILD does not need to be edited manually. # The package is normally built automatically by autobuilder. # To generate a new package, simply push changes to blacklist.git. # The autobuilder will modify this PKGBUILD, # replacing $pkgver, $_gitver, and the checksum (updpkgsums), # build and publish the package, # and commit the modified PKGBUILD to abslibre. pkgname=your-freedom pkgver=20220508 _gitver=c3a0d49f9f95503ed41feed32efbfd8b38401852 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=('53e27f1b6ef1042e2377a710b5faf8edfa4a63efeee082702dac15aa1cb1e550') 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 }