[arch-commits] Commit in beep/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Tue Jul 1 01:36:10 UTC 2014
Date: Tuesday, July 1, 2014 @ 03:36:09
Author: eric
Revision: 215927
upgpkg: beep 1.3-3
Rebuild to add mtree file
Modified:
beep/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-01 00:50:58 UTC (rev 215926)
+++ PKGBUILD 2014-07-01 01:36:09 UTC (rev 215927)
@@ -3,7 +3,7 @@
pkgname=beep
pkgver=1.3
-pkgrel=2
+pkgrel=3
pkgdesc="Advanced PC speaker beeping program"
arch=('i686' 'x86_64')
url="http://www.johnath.com/beep"
@@ -12,14 +12,18 @@
source=(http://www.johnath.com/beep/${pkgname}-${pkgver}.tar.gz)
sha1sums=('8cba283e507dc9e401da011a9c92a2e24ea2bf70')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -i "s:-Wall:${CFLAGS}:" Makefile
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i "s:-Wall:${CFLAGS}:" Makefile
+ cd ${pkgname}-${pkgver}
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
install -D -m755 beep "${pkgdir}/usr/bin/beep"
install -D -m644 beep.1.gz "${pkgdir}/usr/share/man/man1/beep.1.gz"
}
More information about the arch-commits
mailing list