From 82c9225127cc0721404ee44deac8493e65e96ffb Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 27 Aug 2014 01:12:33 -0300 Subject: your-freedom_emu-20140827-1: updating version, add changes based on your-freedom --- libre/your-freedom_emu/PKGBUILD | 42 ++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) (limited to 'libre/your-freedom_emu/PKGBUILD') 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 +# Maintainer: Parabola Project + 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 +} -- cgit v1.2.3-54-g00ecf