blob: 8b5880179e727ad145e54457e3b2eea33697a915 (
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
|
# Maintainer: Ivy Foster <ivy.foster@gmail.com>
pkgname='sndio-git'
pkgver=1.0.1.r123.f8436a7
pkgrel=1
pkgdesc='A small audio and MIDI framework part of the OpenBSD project'
arch=('i686' 'x86_64')
url='http://www.sndio.org'
license=('MIT')
provides=('sndio')
source=('git+http://caoua.org/git/sndio' '0001-put-cookie-somewhere-better.patch')
md5sums=('SKIP' 'SKIP')
pkgver() {
cd sndio
git describe | sed 's,release_,,; s,_,.,g; s,-\(.*\)-.,.r\1.,'
}
prepare() {
cd sndio
git apply ../0001-put-cookie-somewhere-better.patch
}
build() {
cd sndio
./configure --prefix=/usr --enable-alsa
make
make -C libsndio libsndio.so
}
package() {
make -C sndio DESTDIR="$pkgdir/" install
}
|