summaryrefslogtreecommitdiffstats
path: root/main/beep/APKBUILD
blob: 69806692b4375c76651728e56414fcb2e0df7381 (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
33
34
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=beep
pkgver=1.3
pkgrel=2
pkgdesc="A terminal bell"
url="http://johnath.com/beep"
arch="all"
license="GPL2"
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"
sha256sums="59acef7a987de5557cefd1a904666cc2691f132929af39e65450b182a581ec2d  beep-1.3.tar.gz"
sha512sums="3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd  beep-1.3.tar.gz"