summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorraku-cat2018-11-13 10:07:59 -0600
committerraku-cat2018-11-13 10:07:59 -0600
commit94bd34fa8c67dcd12f9cd0cc2e607dc53c2fd75b (patch)
tree732cf011747dc0778037a445e8664c25b61035b0
downloadaur-syspeek-vala-bzr.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD37
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6003175f35a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = syspeek-vala-bzr
+ pkgdesc = A small system monitor indicator that displays CPU usage, memory usage, swap usage, disk usage and network traffic. Vala rewrite
+ pkgver = r10
+ pkgrel = 1
+ url = https://launchpad.net/syspeekv
+ arch = i686
+ arch = x86_64
+ license = GPLv3
+ makedepends = bzr
+ makedepends = vala
+ depends = gtk3
+ depends = libappindicator-gtk3
+ depends = glib2
+ depends = hicolor-icon-theme
+ provides = syspeek
+ source = bzr+lp:/syspeekv
+ md5sums = SKIP
+
+pkgname = syspeek-vala-bzr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9299cf5fb4b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Raku <raku at raku dot party>
+
+pkgname=syspeek-vala-bzr
+_bzrname=syspeekv
+pkgver=r10
+pkgrel=1
+pkgdesc="A small system monitor indicator that displays CPU usage, memory usage, swap usage, disk usage and network traffic. Vala rewrite"
+arch=(i686 x86_64)
+url="https://launchpad.net/syspeekv"
+license=('GPLv3')
+depends=('gtk3' 'libappindicator-gtk3' 'glib2' 'hicolor-icon-theme')
+makedepends=('bzr' 'vala')
+provides=('syspeek')
+source=('bzr+lp:/syspeekv')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_bzrname}"
+ echo "r$(bzr revno)"
+}
+
+build() {
+ cd "$srcdir/$_bzrname"
+ make SysPeekV PREFIX=/usr
+}
+
+package() {
+ cd "$srcdir/$_bzrname"
+
+ install -D -m755 "SysPeekV" "$pkgdir/usr/bin/syspeek"
+
+ install -d "$pkgdir/usr/share/icons/hicolor/22x22/status"
+
+ install -D -m644 icons/hicolor/22x22/status/syspeek-*.svg "$pkgdir/usr/share/icons/hicolor/22x22/status"
+
+ install -D -m644 icons/hicolor/256x256/apps/syspeek.svg "$pkgdir/usr/share/icons/hicolor/256x256/apps/syspeek.svg"
+} \ No newline at end of file