From 2619778b4b6e1b0e0eff465693879a855ba478f6 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 16 Jun 2015 04:43:30 -0300 Subject: uzem: add new package to [pcr] --- pcr/uzem/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/uzem/PKGBUILD (limited to 'pcr/uzem') diff --git a/pcr/uzem/PKGBUILD b/pcr/uzem/PKGBUILD new file mode 100644 index 000000000..02ecf4963 --- /dev/null +++ b/pcr/uzem/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: André Silva +# Maintainer: Márcio Silva + +_pkgname=uzebox +pkgname=uzem +pkgver=3.3 +pkgrel=1 +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') + +build() { + cd $srcdir/$_pkgname-$_pkgname-$pkgver/tools/$pkgname + make +} + +package() { + cd $srcdir/$_pkgname-$_pkgname-$pkgver + install -d "$pkgdir/usr/bin" + install -Dm644 $srcdir/$_pkgname-$_pkgname-$pkgver/tools/$pkgname/${pkgname} $pkgdir/usr/bin + install -Dm644 $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