summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96c2ac9f8e2ec9cf90863ad992e8c3f1cf40ec50 (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
# Contributor: Patrick Bartels <pckbls@gmail.com>

pkgname=pulseaudio-module-sndio
pkgdesc="Pulseaudio module for sndio support"
pkgver=r14.3d55962
pkgrel=1
arch=(x86_64)
url="https://github.com/t6/pulseaudio-module-sndio"
license=(BSD)
depends=(pulseaudio sndio)
source=("$pkgname::git+https://github.com/t6/pulseaudio-module-sndio.git#commit=3d559627a054ca0dccaa802354db1fe0da2e9ec6")
md5sums=('SKIP')

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

build() {
  cd "$pkgname"
  make
}

package(){
  cd "$pkgname"
  DESTDIR="$pkgdir" make install
}