summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeimos2018-10-05 14:11:17 -0400
committerDeimos2018-10-05 14:11:17 -0400
commit05ae0a2586e2d171f2527317d9c1040cfd93d827 (patch)
tree7d015614978d5fd1a6bd8336da1be0423b86b7d1
parentca11f61b05a9e1b1bddbba89a17e7acb566f1cb6 (diff)
downloadaur-05ae0a2586e2d171f2527317d9c1040cfd93d827.tar.gz
Setup build environment vars
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD31
2 files changed, 8 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 092d7bffd1c..b79c1622ec5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,9 +12,7 @@ pkgbase = timemon.app
depends = gnustep-base
depends = gnustep-gui
source = http://savannah.nongnu.org/download/gap/TimeMon-4.2.tar.gz
- source = TimeMon.desktop
sha256sums = 3204e7cc454db233cebb93bb7cc8ad56bf5754063ed7be1a765051615a04ec0f
- sha256sums = d899dd9da09c11f5a3910b34c1db4df85ae91307e76b12b0e27037ec1ddef314
pkgname = timemon.app
diff --git a/PKGBUILD b/PKGBUILD
index 319c36cd7f6..5519120189b 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=timemon.app
_pkgname=TimeMon
pkgrel=1
@@ -9,35 +9,20 @@ arch=('i686' 'x86_64')
url="http://www.nongnu.org/gap/timemon/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"
- "$_pkgname.desktop")
-sha256sums=('3204e7cc454db233cebb93bb7cc8ad56bf5754063ed7be1a765051615a04ec0f'
- 'd899dd9da09c11f5a3910b34c1db4df85ae91307e76b12b0e27037ec1ddef314')
+depends=('gnustep-base' 'gnustep-gui')
+makedepends=('gcc-objc' 'gnustep-make')
+source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz")
+sha256sums=('3204e7cc454db233cebb93bb7cc8ad56bf5754063ed7be1a765051615a04ec0f')
build() {
cd "$_pkgname-$pkgver"
+ export GNUSTEP_MAKEFILES="$(gnustep-config --variable=GNUSTEP_MAKEFILES)"
make
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
- install -D -m644 "$srcdir/$_pkgname.desktop" \
+ 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
-}