blob: 0346321ffa994bf43edb2fe26c1be2d19a13bcdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 215928 2014-07-01 01:38:25Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=beep
pkgver=1.3
pkgrel=3
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)
sha1sums=('8cba283e507dc9e401da011a9c92a2e24ea2bf70')
prepare() {
cd ${pkgname}-${pkgver}
sed -i "s:-Wall:${CFLAGS}:" Makefile
}
build() {
cd ${pkgname}-${pkgver}
make
}
package() {
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"
}
|