summaryrefslogtreecommitdiff
path: root/extra/beep/PKGBUILD
blob: be85621eef71f82ed49120e023de969d6e549fad (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
# $Id: PKGBUILD 149366 2012-02-07 08:26:35Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=beep
pkgver=1.3
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)
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"
}