blob: 883806d644534b9e3dcadf7de46984191ea18cdc (
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
|
# Maintainer: katt <magunasu.b97@gmail.com>
pkgname=pcspkr-git
pkgver=r18.f0b68bc
pkgrel=2
pkgdesc='listen to pcm sound over the internal pc speaker'
arch=(x86_64)
url=https://github.com/xdsopl/pcspkr
license=('custom:CC0-1.0')
depends=(glibc)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+"${url}".git)
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
install -Dm755 -t "${pkgdir}"/usr/bin measure pwm sdm
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
|