summaryrefslogtreecommitdiff
path: root/yf/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:46:25 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:46:25 -0500
commit436fcd89bf7721f54a359842b4741bc67825411c (patch)
tree796697ee3413271c637a84e712e362ed9df33d4b /yf/PKGBUILD
parentc991efcdf97748614c99dc23bf8f1ecbab99a247 (diff)
Added your-freeedom to db-scripts
Diffstat (limited to 'yf/PKGBUILD')
-rw-r--r--yf/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/yf/PKGBUILD b/yf/PKGBUILD
new file mode 100644
index 0000000..cc6f07b
--- /dev/null
+++ b/yf/PKGBUILD
@@ -0,0 +1,28 @@
+# 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 unfree package known to date."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL')
+groups=('base')
+install=${pkgname}.install
+source=()
+md5sums=()
+noextract=()
+
+build() {
+ cd ${srcdir}
+ source ~/repm/local_config
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 $blacklist $whitelist ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+package() {
+ conflicts=($(cut -d: -f1,2 ${pkgdir}/usr/share/doc/${pkgname}/blacklist.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ sort -u
+ ))
+}