summaryrefslogtreecommitdiff
path: root/libre/your-freedom
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2024-01-03 12:57:05 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2024-01-06 18:57:31 -0500
commit61260dd92b3f6e05c1a3e949db89fcd9008ebe01 (patch)
treecdf0283dfde89d188e14509d2c606c90f2182d2d /libre/your-freedom
parent0f1133252b7ed9b62426fb247d82854bdcec84ef (diff)
[your-freedom][your-gaming-freedom][your-privacy][your-init-freedom]: normalize related recipes
Diffstat (limited to 'libre/your-freedom')
-rw-r--r--libre/your-freedom/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD
index 0fff1a51d..4002b0400 100644
--- a/libre/your-freedom/PKGBUILD
+++ b/libre/your-freedom/PKGBUILD
@@ -6,23 +6,24 @@
# 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, $_gitver, and the checksum (updpkgsums),
+# replace $pkgver, $_srcver, and the checksum (updpkgsums),
# build and publish the package, and commit the changes to abslibre.
pkgname=your-freedom
pkgver=20240103
-_gitver=4a4e77e8b0157e1d993d331140caff5a5bed3bbb
+_srcver=4a4e77e8b0157e1d993d331140caff5a5bed3bbb
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) # TODO: NYI
-# license=('CCPL:zero') # TODO: NYI
+license=(custom:CCPL:zero)
+# license=('CCPL:zero') # TODO: NYI
makedepends=(librelib)
install=${pkgname}.install
-source=(${pkgname}-blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver})
+_srcname=${pkgname}-blacklist-${_srcver}.txt
+source=(${_srcname}::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_srcver})
sha256sums=('07c9400deef1d96cc6c470a8a88ccd0cde222d085cb7eb557b9b95a00e8d8073')
@@ -31,10 +32,8 @@ package()
{
# collect blacklisted package names as pacman conflicts,
# also to be excluded by the repo importer, and rejected by libremakepkg
- # TODO: rename blacklist.txt to your-freedom-blacklist.txt (without breaking tools)
-# conflicts=( $( libreblacklist normalize < ${pkgname}-blacklist-${_gitver}.txt | \
- conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \
- cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) )
+ conflicts=( $( libreblacklist normalize < ${_srcname} | \
+ cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) )
- install -Dm644 ${pkgname}-blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt
+ install -Dm644 ${_srcname} "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt
}