summaryrefslogtreecommitdiff
path: root/extra/beep/PKGBUILD
blob: bee2afc6d0fbafd2716a81b77bdb6058b105f499 (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
# $Id: PKGBUILD 90320 2010-09-10 17:01:06Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=beep
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=('49c340ceb95dbda3f97b2daafac7892a')
sha1sums=('8cba283e507dc9e401da011a9c92a2e24ea2bf70')

build() {
  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"
}