summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorianux2015-06-10 13:00:21 +0200
committerianux2015-06-10 13:00:21 +0200
commitf2348c376c996461dba9d8c2816c891f90fc803c (patch)
tree7b89e563cc42c0186a12d1fd2d51c4c3472368a8
downloadaur-f2348c376c996461dba9d8c2816c891f90fc803c.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD26
-rw-r--r--gnome-video-arcade.install21
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93c39c4982f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = gnome-video-arcade
+ pkgdesc = Simple GTK3 MAME front-end wich supports both XMAME and SDLMAME.
+ pkgver = 0.8.3
+ pkgrel = 1
+ url = http://live.gnome.org/GnomeVideoArcade
+ install = gnome-video-arcade.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ makedepends = pkgconfig
+ makedepends = gnome-doc-utils
+ depends = dconf
+ depends = dbus
+ depends = gtk3
+ depends = libwnck3
+ depends = gstreamer0.10-base-plugins
+ depends = hicolor-icon-theme
+ depends = sdlmame
+ depends = sqlite3
+ source = http://ftp.gnome.org/pub/GNOME/sources/gnome-video-arcade/0.8/gnome-video-arcade-0.8.3.tar.xz
+ sha1sums = d2e658f8e409d30229c79e905d2168eecd1a1bb6
+
+pkgname = gnome-video-arcade
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1c7e82bbbd0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: ianux <ianux@free.fr>
+
+pkgname=gnome-video-arcade
+pkgver=0.8.3
+pkgrel=1
+pkgdesc="Simple GTK3 MAME front-end wich supports both XMAME and SDLMAME."
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/GnomeVideoArcade"
+license=('GPL')
+depends=('dconf' 'dbus' 'gtk3' 'libwnck3' 'gstreamer0.10-base-plugins' 'hicolor-icon-theme' 'sdlmame' 'sqlite3')
+makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('d2e658f8e409d30229c79e905d2168eecd1a1bb6')
+install=${pkgname}.install
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/gnome-video-arcade.install b/gnome-video-arcade.install
new file mode 100644
index 00000000000..bd0f135dfc9
--- /dev/null
+++ b/gnome-video-arcade.install
@@ -0,0 +1,21 @@
+pkgname=gnome-video-arcade
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+op=$1
+shift
+
+$op $*