From 049ba42d27e5eb1d615d606723af2995f484cf53 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Thu, 21 Feb 2019 00:13:51 +0100 Subject: pcr/uzem: rebuilt --- pcr/uzem/PKGBUILD | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'pcr/uzem/PKGBUILD') 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 } -- cgit v1.2.3