summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinRuoshui2018-05-13 13:42:38 +0800
committerLinRuoshui2018-05-13 13:42:38 +0800
commit763840b3756d22fe400cf830027cad815aafcfbe (patch)
tree4a2d1adc1d09dfd6ebc4682230e7a1766480b27d
parentb1f965d5451549894b3bca23116d008d5a34b5a6 (diff)
downloadaur-gmameui.tar.gz
update source URL
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD28
3 files changed, 27 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4429a344bd6..1256898e5da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,21 @@
+# Generated by mksrcinfo v8
+# Sun May 13 05:41:51 UTC 2018
pkgbase = gmameui
pkgdesc = SDLMAME/XMAME frontend designed to look like MAME32 (fork of GXMAME)
- pkgver = 0.2.12
- pkgrel = 3
+ pkgver = r279.ea144d7
+ pkgrel = 1
url = http://gmameui.sourceforge.net/
arch = i686
arch = x86_64
license = GPL
makedepends = intltool
+ makedepends = gtkimageview
depends = gnome-doc-utils
depends = libarchive
depends = libglade
- depends = vte
- source = http://sourceforge.net/projects/gmameui/files/gmameui/0.2.12/gmameui-0.2.12.tar.gz
- md5sums = e1f36731b0007501cf4c169aaee2ccc8
+ depends = vte-legacy
+ source = gmameui::git+https://github.com/sergiomb2/gmameui.git
+ md5sums = SKIP
pkgname = gmameui
diff --git a/.gitignore b/.gitignore
index e4f398dc5b3..fc1583d5632 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+gmameui
src/
pkg/
*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
index 50bbc27aff5..eb9569f8022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,26 @@
# Contributor: Slash <demodevil5 [AT] yahoo [DOT] com>
pkgname=gmameui
-pkgver=0.2.12
-pkgrel=3
+pkgver=r279.ea144d7
+pkgrel=1
pkgdesc='SDLMAME/XMAME frontend designed to look like MAME32 (fork of GXMAME)'
arch=('i686' 'x86_64')
url='http://gmameui.sourceforge.net/'
license=('GPL')
-depends=('gnome-doc-utils' 'libarchive' 'libglade' 'vte')
-makedepends=('intltool')
-source=("http://sourceforge.net/projects/gmameui/files/gmameui/$pkgver/$pkgname-$pkgver.tar.gz")
-md5sums=('e1f36731b0007501cf4c169aaee2ccc8')
+depends=('gnome-doc-utils' 'libarchive' 'libglade' 'vte-legacy')
+makedepends=('intltool' 'gtkimageview')
+#source=("http://sourceforge.net/projects/gmameui/files/gmameui/$pkgver/$pkgname-$pkgver.tar.gz")
+source=('gmameui::git+https://github.com/sergiomb2/gmameui.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+# git describe --always --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
# archive_read_data_into_buffer() is deprecated in libarchive
/bin/sed -i 's/archive_read_data_into_buffer/archive_read_data/' src/gmameui-zip-utils.c
@@ -21,13 +28,14 @@ build() {
# replace individual glib headers with glib.h
/bin/sed -i '34,36d' src/gmameui.c
/bin/sed -i '33 a\#include <glib.h>' src/gmameui.c
-
- ./configure --prefix=/usr --disable-libgnome --enable-joystick --enable-debug
+ autoreconf -fiv
+ intltoolize
+ ./configure --prefix=/usr --enable-joystick --enable-debug
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}