blob: ad32d5700e2946a313f6d59c3929c674f1d1a184 (
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
|
# Maintainer: Leo Pham <forgottenumbrella at tutanota dot com>
pkgname=pa_volume-git
pkgver=0.1.1.r41.8d69373
pkgrel=1
pkgdesc="Set remembered PulseAudio volume"
arch=('x86_64')
url="https://github.com/rhaas80/pa_volume"
license=('GPL')
depends=('libpulse')
makedepends=('git' 'pandoc')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/rhaas80/pa_volume.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s.r%s.%s" \
"$(head -n1 pa_volume.1.md | cut -f3 -d' ')" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make LDFLAGS=-Wl,-z,now
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dt "$pkgdir/usr/bin/" "${pkgname%-git}"
install -Dt "$pkgdir/usr/share/man/man1/" "${pkgname%-git}.1"
}
|