diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 01:12:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 01:12:33 -0300 |
commit | 82c9225127cc0721404ee44deac8493e65e96ffb (patch) | |
tree | 53b4ad297bd70fa2d3b8d6a9e0ec6d98dc8f1bd3 /libre/your-freedom_emu/PKGBUILD | |
parent | f5ddebc108759dc31dc2a381b26d8de75c5bb7a7 (diff) |
your-freedom_emu-20140827-1: updating version, add changes based on your-freedom
Diffstat (limited to 'libre/your-freedom_emu/PKGBUILD')
-rw-r--r-- | libre/your-freedom_emu/PKGBUILD | 42 |
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 +} |