summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6113232616dad4d7682bce35343e674a33a24352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: <mumei AT airmail DOT cc>

pkgname=timemon.app
_pkgname=TimeMon
pkgrel=1
pkgver=4.2
pkgdesc="An abstract graphical representation of where your CPU cycles are going."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/gap/timemon/index.html"
license=('GPL')
groups=('gnustep')
depends=('gnustep-base' 'gnustep-gui' 'gnustep-back')
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 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
    "$pkgdir/usr/share/applications/$_pkgname.desktop"
}