diff options
author | graysky | 2020-08-21 06:06:02 -0400 |
---|---|---|
committer | graysky | 2020-08-21 06:06:02 -0400 |
commit | 7bb975eab426e629e4bca8cab3fab65c8f6dfd76 (patch) | |
tree | 7a458484da1c4fc7464b445e0db5d012cd003ffe /PKGBUILD | |
download | aur-xfce-hkmon.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..234c9aaa8539 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: graysky <graysky AT archlinux DOT us> + +pkgname=xfce-hkmon +# work around until upstream versions +# https://github.com/lightful/xfce-hkmon/issues/7 +_commit=6862a03e9ca7d2b0e96bece4cb88dfc9b3518987 +_short=09 +pkgver=0.$_short +pkgrel=1 +pkgdesc="Hacker's monitor for XFCE" +arch=('x86_64') +url="https://lightful.github.io/xfce-hkmon" +license=(GPL) +depends=(xfce4-genmon-plugin) +source=("$pkgname-$pkgver".tar.gz::"https://github.com/lightful/$pkgname/archive/$_commit.tar.gz") +b2sums=('ae6184e1ff2e85cd8a71d5854f355f534ed7fec48a673ae45fadff3a86ff72b14ac7f0e94f0f0c8d93dd71df81c86e531b8230e9ac4cd1c9af10b6c36a873949') +install=readme.install + +build() { + cd "$pkgname-$_commit" + g++ -std=c++0x -O3 -lrt xfce-hkmon.cpp -o xfce-hkmon + +} + +package() { + install -p -d "$pkgdir"/usr/bin + install -p -m755 "$pkgname-$_commit/$pkgname" "$pkgdir/usr/bin/$pkgname" +} + |