summaryrefslogtreecommitdiff
path: root/community/floyd/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-21 14:44:37 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-21 14:44:37 -0300
commit9d6dd0a34cb8bd599c4d06c54dbd247ede60267f (patch)
treecc7662c9e2eda6f7e3b3b0fb3b7c094e4fa54d0b /community/floyd/PKGBUILD
parentfe0996f2e8716b772785a0bf93c6a3f2d5dc22ff (diff)
parent70b4878648fd376433739bd5c835503f6301a5b2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/avifile/PKGBUILD community/blackbox/PKGBUILD community/blobby2/PKGBUILD community/chmsee/PKGBUILD community/extrema/PKGBUILD community/floyd/PKGBUILD community/gnash/PKGBUILD community/gq/PKGBUILD community/gsql/PKGBUILD community/haddock/PKGBUILD community/hashcash/PKGBUILD community/kvpnc/PKGBUILD community/uptimed/PKGBUILD community/wol/PKGBUILD core/jfsutils/PKGBUILD core/reiserfsprogs/PKGBUILD extra/gtk2/PKGBUILD extra/libcroco/PKGBUILD extra/libffado/PKGBUILD extra/librsvg/PKGBUILD extra/lua/PKGBUILD extra/mesa/PKGBUILD extra/valgrind/PKGBUILD extra/xorg-server/PKGBUILD libre/audacious-plugins-libre/PKGBUILD libre/texlive-bin-libre/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-mesa/PKGBUILD multilib/wine/PKGBUILD multilib/wine_gecko/PKGBUILD
Diffstat (limited to 'community/floyd/PKGBUILD')
-rw-r--r--community/floyd/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/community/floyd/PKGBUILD b/community/floyd/PKGBUILD
index 7c711c677..42c4cd155 100644
--- a/community/floyd/PKGBUILD
+++ b/community/floyd/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 5264 2009-11-07 13:00:24Z ibiru $
+# $Id: PKGBUILD 58684 2011-11-17 15:37:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=floyd
pkgver=2.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="displays system load with pulse of keyboard LED"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.asahi-net.or.jp/~pi9s-nnb/floyd/"
license=("GPL")
-depends=(glibc)
-backup=(etc/fuse.conf)
-source=(http://www.asahi-net.or.jp/~pi9s-nnb/floyd/$pkgname-$pkgver.tar.gz)
-md5sums=('c1b80bc76ac4e25e821a193428fa42a4')
+depends=()
+source=(http://www.asahi-net.or.jp/~pi9s-nnb/floyd/$pkgname-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('c1b80bc76ac4e25e821a193428fa42a4'
+ '0cde2017ead790f9d556ef34c6a4008f')
build() {
cd $startdir/src/$pkgname-$pkgver
- sed -i "s#/usr/local#/usr#" ./Makefile
- make floyd || return 1
- install -D -m 0755 ./floyd $startdir/pkg/usr/bin/floyd && \
- install -D -m 0644 ./floyd.1 $startdir/pkg/usr/share/man/man1/floyd.1
+ patch -p1 <$srcdir/build-fix.patch
+ make pthread
+}
+
+package() {
+ cd $startdir/src/$pkgname-$pkgver
+ mkdir -p $pkgdir/usr/share/man/man1 $pkgdir/usr/bin
+ make install MANDIR=$pkgdir/usr/share/man/man1 BINDIR=$pkgdir/usr/bin
}