summaryrefslogtreecommitdiff
path: root/libre/your-freedom/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/your-freedom/PKGBUILD')
-rw-r--r--libre/your-freedom/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD
new file mode 100644
index 000000000..6f2b209d5
--- /dev/null
+++ b/libre/your-freedom/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-freedom
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="This package conflicts with every nonfree package known to date to ensure your system is free."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL3')
+groups=('base')
+install=${pkgname}.install
+source=(blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/blacklist.txt)
+
+package() {
+ conflicts=($(cut -d: -f1,2 blacklist-${pkgver}.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ grep -v '^#' | \
+ sort -u
+ ))
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+md5sums=('5fd14982619414fea1882b351607291e')