[arch-commits] Commit in (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Jan 7 17:02:37 UTC 2015
Date: Wednesday, January 7, 2015 @ 18:02:36
Author: bpiotrowski
Revision: 125564
newpkg: gambatte r537-1
Added:
gambatte/
gambatte/repos/
gambatte/trunk/
gambatte/trunk/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Added: gambatte/trunk/PKGBUILD
===================================================================
--- gambatte/trunk/PKGBUILD (rev 0)
+++ gambatte/trunk/PKGBUILD 2015-01-07 17:02:36 UTC (rev 125564)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgbase=gambatte
+pkgname=('gambatte-qt' 'gambatte-sdl')
+pkgver=r537
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://github.com/sinamas/gambatte'
+license=('GPL2')
+makedepends=('git' 'qt4' 'scons' 'sdl')
+source=(git://github.com/sinamas/gambatte.git#commit=46e06da8)
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ printf "r%s" "$(git rev-list --count @)"
+}
+
+build() {
+ cd $pkgbase
+
+ pushd libgambatte
+ scons
+ popd
+
+ pushd gambatte_qt
+ qmake-qt4
+ make
+ popd
+
+ pushd gambatte_sdl
+ scons
+ popd
+}
+
+package_gambatte-qt() {
+ pkgdesc='Accurate Game Boy Color emulator. Qt4 UI.'
+ depends=('qt4')
+
+ install -Dm755 $pkgbase/gambatte_qt/bin/gambatte_qt \
+ "$pkgdir"/usr/bin/gambatte-qt
+}
+
+package_gambatte-sdl() {
+ pkgdesc='Accurate Game Boy Color emulator'
+ depends=('gcc-libs' 'sdl' 'zlib')
+
+ install -Dm755 $pkgbase/gambatte_sdl/gambatte_sdl \
+ "$pkgdir"/usr/bin/gambatte-sdl
+}
Property changes on: gambatte/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list