summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Ascher2016-07-18 21:24:36 +0200
committerThomas Ascher2016-07-18 21:24:36 +0200
commit0952b15a3c96cf526d2678215cdf88b50b4b9671 (patch)
tree0becc43315b3137df633c6faec740c1f83f50279
downloadaur-0952b15a3c96cf526d2678215cdf88b50b4b9671.tar.gz
initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD41
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8e0fd368755
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gmines.app
+ pkgdesc = A clone of the well-known minesweeper game.
+ pkgver = 0.2
+ pkgrel = 1
+ url = http://www.nongnu.org/gap/gmines/index.html
+ arch = i686
+ arch = x86_64
+ groups = gnustep
+ license = GPL
+ makedepends = gcc-objc
+ makedepends = gnustep-make
+ depends = gnustep-base
+ depends = gnustep-gui
+ source = http://savannah.nongnu.org/download/gap/GMines-0.2.tar.gz
+ sha256sums = a7100c9846b548ef2d27c35b80370b30769dca3ac8eeff5f15a227474843c067
+
+pkgname = gmines.app
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..31a57b44147
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
+# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
+pkgname=gmines.app
+_pkgname=GMines
+pkgrel=1
+pkgver=0.2
+pkgdesc="A clone of the well-known minesweeper game. "
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/gap/gmines/index.html"
+license=('GPL')
+groups=('gnustep')
+depends=('gnustep-base'
+ 'gnustep-gui')
+makedepends=('gcc-objc'
+ 'gnustep-make')
+source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz")
+sha256sums=('a7100c9846b548ef2d27c35b80370b30769dca3ac8eeff5f15a227474843c067')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+}
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}