PKGBUILDs/extra/beep/PKGBUILD
2009-10-18 22:17:58 -05:00

21 lines
619 B
Bash

# Maintainer: damir <damir@archlinux.org>
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
pkgname=beep
pkgver=1.2.2
pkgrel=2
pkgdesc="Advanced PC speaker beeping program."
arch=('arm')
url="http://www.johnath.com/beep"
license=('GPL2')
depends=('glibc')
source=(http://www.johnath.com/beep/$pkgname-$pkgver.tar.gz)
md5sums=('d541419fd7e5642952d7b48cbb40c712')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i "s:-Wall:${CFLAGS}:" Makefile || return 1
make || return 1
install -D -m755 beep $pkgdir/usr/bin/beep || return 1
install -D -m644 beep.1.gz $pkgdir/usr/share/man/man1/beep.1.gz || return 1
}