aboutsummaryrefslogtreecommitdiffstats
path: root/main/beep/APKBUILD
blob: f318413ebee029e4830b1707b0022946f4897f2f (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@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=beep
pkgver=1.3
pkgrel=1
pkgdesc="A terminal bell"
url="http://johnath.com/beep"
arch="all"
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"