summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8cff1d7476365363bee2de865a20b8d04eaf926 (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
# Maintainer: Christian Mauderer <oss@c-mauderer.de>
pkgname=abeep-git
pkgrel=4
pkgver=r20.01c63c8
pkgdesc='Just like beep, except that it plays via ALSA'
arch=('x86_64')
url='https://github.com/Hawk777/abeep'
license=('GPL2')
depends=('alsa-lib')
provides=('abeep')
conflicts=('abeep')
makedepends=('git')
source=("${pkgname}"::'git+https://github.com/Hawk777/abeep.git')
sha512sums=('SKIP')

pkgver() {
	cd "$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "${srcdir}/${pkgname}"
	make
}

package() {
	cd "${srcdir}/${pkgname}"
	install -D -m0755 abeep ${pkgdir}/usr/bin/abeep
}