summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Ascher2016-07-18 18:51:58 +0200
committerThomas Ascher2016-07-18 18:51:58 +0200
commitca11f61b05a9e1b1bddbba89a17e7acb566f1cb6 (patch)
tree74d4ea5c0f345be44da23d3e2c4ce2a2f5cc4a71
downloadaur-ca11f61b05a9e1b1bddbba89a17e7acb566f1cb6.tar.gz
initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
-rwxr-xr-xTimeMon.desktop9
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..092d7bffd1c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = timemon.app
+ pkgdesc = An abstract graphical representation of where your CPU cycles are going.
+ pkgver = 4.2
+ pkgrel = 1
+ url = http://www.nongnu.org/gap/timemon/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/TimeMon-4.2.tar.gz
+ source = TimeMon.desktop
+ sha256sums = 3204e7cc454db233cebb93bb7cc8ad56bf5754063ed7be1a765051615a04ec0f
+ sha256sums = d899dd9da09c11f5a3910b34c1db4df85ae91307e76b12b0e27037ec1ddef314
+
+pkgname = timemon.app
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..319c36cd7f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
+# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
+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')
+makedepends=('gcc-objc'
+ 'gnustep-make')
+source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz"
+ "$_pkgname.desktop")
+sha256sums=('3204e7cc454db233cebb93bb7cc8ad56bf5754063ed7be1a765051615a04ec0f'
+ 'd899dd9da09c11f5a3910b34c1db4df85ae91307e76b12b0e27037ec1ddef314')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 "$srcdir/$_pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+}
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
diff --git a/TimeMon.desktop b/TimeMon.desktop
new file mode 100755
index 00000000000..49b3610b73c
--- /dev/null
+++ b/TimeMon.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Categories=X-GNUstep;
+Name=TimeMon
+Comment=System load monitor
+Icon=/usr/lib/GNUstep/Applications/TimeMon.app/Resources/TimeMon.tiff
+Exec=/usr/bin/openapp TimeMon
+FilePattern=TimeMon.app;TimeMon;