PKGBUILDs/extra/beep/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
679 B
Bash

# $Id: PKGBUILD 30187 2009-03-17 04:21:38Z eric $
# 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=('i686' 'x86_64')
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
}