summaryrefslogtreecommitdiff
path: root/pcr/uzem/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-21 00:13:51 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-21 00:13:51 +0100
commit049ba42d27e5eb1d615d606723af2995f484cf53 (patch)
tree3bf6bd3e3d813d02a1e607e30215273a1e8debdb /pcr/uzem/PKGBUILD
parent6bc15bfbc43c03e8560b9f9a765da215ca3f8252 (diff)
downloadabslibre-049ba42d27e5eb1d615d606723af2995f484cf53.tar.gz
abslibre-049ba42d27e5eb1d615d606723af2995f484cf53.tar.bz2
abslibre-049ba42d27e5eb1d615d606723af2995f484cf53.zip
pcr/uzem: rebuilt
Diffstat (limited to 'pcr/uzem/PKGBUILD')
-rw-r--r--pcr/uzem/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/pcr/uzem/PKGBUILD b/pcr/uzem/PKGBUILD
index b9a3354ea..e4853ba21 100644
--- a/pcr/uzem/PKGBUILD
+++ b/pcr/uzem/PKGBUILD
@@ -4,25 +4,33 @@
_pkgname=uzebox
pkgname=uzem
pkgver=3.3
-pkgrel=2
+pkgrel=3
pkgdesc="A ${_pkgname^} 8-bit game console emulator"
url="http://belogic.com/$_pkgname"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('sdl')
-source=("https://github.com/${_pkgname^}/$_pkgname/archive/$_pkgname-$pkgver.tar.gz")
-sha256sums=('d6f5d302df3d58eb536d706e6a830618ac72157bfe15c9c2b2025e4f3091bc38')
+options=(!debug)
+source=("https://github.com/${_pkgname^}/$_pkgname/archive/$_pkgname-$pkgver.tar.gz"
+ "uzem-c++14.patch")
+sha256sums=('d6f5d302df3d58eb536d706e6a830618ac72157bfe15c9c2b2025e4f3091bc38'
+ '5ed1b4f9faa347b8ac6001dc664db98798c77a6fb02ac845df25a7a89770b962')
+
+prepare() {
+ cd "$srcdir"/$_pkgname-$_pkgname-$pkgver
+ patch -Np1 -i "$srcdir"/uzem-c++14.patch
+}
build() {
- cd $srcdir/$_pkgname-$_pkgname-$pkgver/tools/$pkgname
+ cd "$srcdir"/$_pkgname-$_pkgname-$pkgver/tools/$pkgname
make
}
package() {
- cd $srcdir/$_pkgname-$_pkgname-$pkgver
+ cd "$srcdir"/$_pkgname-$_pkgname-$pkgver
install -d "$pkgdir/usr/bin"
- install -Dm755 $srcdir/$_pkgname-$_pkgname-$pkgver/tools/$pkgname/${pkgname} $pkgdir/usr/bin
- install -Dm755 $srcdir/$_pkgname-$_pkgname-$pkgver/tools/$pkgname/${pkgname}dbg $pkgdir/usr/bin
+ install -Dm755 "$srcdir"/$_pkgname-$_pkgname-$pkgver/tools/$pkgname/${pkgname} "$pkgdir"/usr/bin
+ install -Dm755 "$srcdir"/$_pkgname-$_pkgname-$pkgver/tools/$pkgname/${pkgname}dbg "$pkgdir"/usr/bin
# license
install -Dm644 gpl-3.0.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}