summaryrefslogtreecommitdiff
path: root/libre/your-freedom_emu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/your-freedom_emu/PKGBUILD')
-rw-r--r--libre/your-freedom_emu/PKGBUILD42
1 files changed, 25 insertions, 17 deletions
diff --git a/libre/your-freedom_emu/PKGBUILD b/libre/your-freedom_emu/PKGBUILD
index 30ace4a38..3344f8afc 100644
--- a/libre/your-freedom_emu/PKGBUILD
+++ b/libre/your-freedom_emu/PKGBUILD
@@ -1,24 +1,32 @@
-# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+# Maintainer: Parabola Project <dev@lists.parabolagnulinux.org>
+
pkgname=your-freedom_emu
-pkgver=$(LC_ALL=C date -u +%Y%m%d)
-pkgrel=1
pkgdesc="This package removes hardware emulators that emulate technically free games and/or OS (but only there are nonfree games and/or OS)."
-arch=('any')
-url="https://parabolagnulinux.org"
license=('GPL3')
+#url="https://projects.parabolagnulinux.org/blacklist.git"
+url="https://lukeshu.com/git/mirror/parabola/blacklist.git"
+pkgver=20140827
+_gitver=e2410d7936cac105a8af764a2bf771fdcffed4c7
+pkgrel=1
+
+arch=('any')
install=${pkgname}.install
-source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt)
+
+makedepends=(librelib)
+#source=(blacklist-${_gitver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver})
+source=(blacklist-${_gitver}.txt::https://lukeshu.com/git/mirror/parabola/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver})
+md5sums=('cf6c392395891ada2fa08970fc5430ef')
package() {
- conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \
- sed "s/:$//" | \
- grep -v ":" | \
- grep -v '^#' | \
- sort -u
- ))
- cd ${srcdir}
- install -d ${pkgdir}/usr/share/doc/${pkgname}
- install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
-}
+ cd "$srcdir"
-md5sums=('d3c2fad6dd774c5234d42d4953d09611')
+ conflicts=($(
+ < blacklist-${_gitver}.txt \
+ blacklist normalize |
+ cut -d: -f1,2 |
+ sed -n 's/:$//p' |
+ sort -u
+ ))
+
+ install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt
+}