summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortheunpleasantowl2018-08-19 21:12:24 -0400
committertheunpleasantowl2018-08-19 21:12:24 -0400
commitff1e98f725949528a698e63161a166976c40575d (patch)
treecd691acf0a040475ac7d40b9f1cf72fd401da111
parent991c7c4c2249da8eb9bce54797769a6c49e16524 (diff)
downloadaur-ff1e98f725949528a698e63161a166976c40575d.tar.gz
Stage for AUR
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD34
2 files changed, 12 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dee46f828b9..6c7a33347ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,12 +5,13 @@ pkgbase = gmastermind.app
url = http://www.nongnu.org/gap/gmastermind/index.html
arch = i686
arch = x86_64
- groups = gnustep
+ groups = gnustep-games
license = GPL
makedepends = gcc-objc
makedepends = gnustep-make
depends = gnustep-base
depends = gnustep-gui
+ depends = gnustep-back
source = http://savannah.nongnu.org/download/gap/GMastermind-0.6.tar.gz
sha256sums = 188bb6ebc30838af8e35b7a0bc1af32051ceb0a6011806ada0e7b77e2b07dea7
diff --git a/PKGBUILD b/PKGBUILD
index 585f78e3894..1f88a1433e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
-# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
+# Maintainer: Icarus Mitchellson <mumei AT airmail DOT cc>
+
pkgname=gmastermind.app
_pkgname=GMastermind
pkgrel=1
@@ -8,34 +8,20 @@ pkgdesc="An implementation of the well-known Mastermind game."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/gap/gmastermind/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")
+groups=('gnustep-games')
+depends=('gnustep-base' 'gnustep-gui' 'gnustep-back')
+makedepends=('gcc-objc' 'gnustep-make')
+source=("http://savannah.nongnu.org/download/gap/GMastermind-0.6.tar.gz")
sha256sums=('188bb6ebc30838af8e35b7a0bc1af32051ceb0a6011806ada0e7b77e2b07dea7')
build() {
cd "$_pkgname-$pkgver"
+ export GNUSTEP_MAKEFILES="$(gnustep-config --variable=GNUSTEP_MAKEFILES)"
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
-}
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
+} \ No newline at end of file