summaryrefslogtreecommitdiff
path: root/community/floyd/PKGBUILD
blob: 7c711c6779f14c4163d96ca01bce24c2507257a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 5264 2009-11-07 13:00:24Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=floyd
pkgver=2.0.1
pkgrel=3
pkgdesc="displays system load with pulse of keyboard LED"
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')

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
}