summaryrefslogtreecommitdiffstats
path: root/main/beep/APKBUILD
blob: 3cd12e98fdb3ad9deea784560b897c3e6f0fbc78 (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
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=beep
pkgver=1.2.2
pkgrel=0
pkgdesc="A terminal bell"
url="http://johnath.com/beep"
license="GPL-2"
depends=""
makedepends=""
#install=
subpackages="$pkgname-doc"
source="http://johnath.com/$pkgname/$pkgname-$pkgver.tar.gz
        beep-1.2.2-nosuid.patch"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	
	patch beep.c < ../../beep-1.2.2-nosuid.patch

	make || return 1

	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="d541419fd7e5642952d7b48cbb40c712  beep-1.2.2.tar.gz
38e2fc3ea98ced50038799ca80fdd9ee  beep-1.2.2-nosuid.patch"