summaryrefslogtreecommitdiff
path: root/pcr/uzem
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 04:43:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-16 05:22:50 -0300
commit2619778b4b6e1b0e0eff465693879a855ba478f6 (patch)
tree6518efc0bbc40ff7a8803a8dabab224916759504 /pcr/uzem
parent7267ca65d29430fbca899fa0f2fece678812849a (diff)
downloadabslibre-2619778b4b6e1b0e0eff465693879a855ba478f6.tar.gz
abslibre-2619778b4b6e1b0e0eff465693879a855ba478f6.tar.bz2
abslibre-2619778b4b6e1b0e0eff465693879a855ba478f6.zip
uzem: add new package to [pcr]
Diffstat (limited to 'pcr/uzem')
-rw-r--r--pcr/uzem/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <emulatorman@parabola.nu>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+_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
+}