summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-05 21:12:02 +0100
committerBartłomiej Piotrowski2018-01-05 21:12:02 +0100
commit49656681b8d89b17f2ef1b4cdd91d5575c828c92 (patch)
tree40e3f149b028685111235be83987bb7ad9e919e4 /PKGBUILD
downloadaur-floyd.tar.gz
Import from official repositories
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1986a137450
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=floyd
+pkgver=2.0.1
+pkgrel=5
+pkgdesc="displays system load with pulse of keyboard LED"
+arch=('x86_64')
+url="http://www.asahi-net.or.jp/~pi9s-nnb/floyd/"
+license=("GPL")
+depends=()
+source=(http://www.asahi-net.or.jp/~pi9s-nnb/floyd/$pkgname-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('c1b80bc76ac4e25e821a193428fa42a4'
+ '0cde2017ead790f9d556ef34c6a4008f')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 <"$srcdir"/build-fix.patch
+ make pthread
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ mkdir -p "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/bin
+ make install MANDIR="$pkgdir"/usr/share/man/man1 BINDIR="$pkgdir"/usr/bin
+}