summaryrefslogtreecommitdiffstats
path: root/main/beep/APKBUILD
blob: 11547b3e1341750f39464ef2eff5faede93a4200 (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
30
31
32
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=beep
pkgver=1.3
pkgrel=0
pkgdesc="A terminal bell"
url="http://johnath.com/beep"
arch="x86 x86_64"
license="GPL-2"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://johnath.com/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -m755 -D "$srcdir/$pkgname-$pkgver/beep" "$pkgdir"/usr/bin/beep
	install -m644 -D "$srcdir/$pkgname-$pkgver/beep.1.gz" "$pkgdir"/usr/share/man/man1/beep.1.gz
}

md5sums="49c340ceb95dbda3f97b2daafac7892a  beep-1.3.tar.gz"