Date: Friday, September 10, 2010 @ 13:01:06 Author: eric Revision: 90320
upgpkg: beep 1.3-1 Upstream update Modified: beep/trunk/PKGBUILD ----------+ PKGBUILD | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-09-10 15:20:40 UTC (rev 90319) +++ PKGBUILD 2010-09-10 17:01:06 UTC (rev 90320) @@ -1,22 +1,26 @@ # $Id$ -# Maintainer: damir <[email protected]> -# Contributor: Manolis Tzanidakis <[email protected]> +# Maintainer: Eric Belanger <[email protected]> pkgname=beep -pkgver=1.2.2 -pkgrel=2 -pkgdesc="Advanced PC speaker beeping program." +pkgver=1.3 +pkgrel=1 +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') +source=(http://www.johnath.com/beep/${pkgname}-${pkgver}.tar.gz) +md5sums=('49c340ceb95dbda3f97b2daafac7892a') +sha1sums=('8cba283e507dc9e401da011a9c92a2e24ea2bf70') 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 + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i "s:-Wall:${CFLAGS}:" Makefile + make } + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -D -m755 beep "${pkgdir}/usr/bin/beep" + install -D -m644 beep.1.gz "${pkgdir}/usr/share/man/man1/beep.1.gz" +}
