summaryrefslogtreecommitdiff
path: root/pcr/uzem/PKGBUILD
blob: 6092b3551e99893f9ff285c8a43c68c65d87a471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: André Silva <emulatorman@parabola.nu>
# Maintainer: Márcio Silva <coadde@parabola.nu>

_pkgname=uzebox
pkgname=uzem
pkgver=3.3
pkgrel=2
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 -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
}