blob: e4bc4ab2a4ae4ddf63bc4d633aea978e714558ea (
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
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libsndfile-minimal-git
pkgver=1.0.28.r74.gbeee21e5
pkgrel=1
pkgdesc="C library for reading and writing files containing sampled sound"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile/"
license=('LGPL')
depends=('glibc' 'alsa-lib' 'libogg' 'libvorbis')
makedepends=('git' 'autogen')
provides=('libsndfile')
conflicts=('libsndfile')
options=('staticlibs')
source=("git+https://github.com/erikd/libsndfile.git")
sha256sums=('SKIP')
pkgver() {
cd "libsndfile"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libsndfile"
./autogen.sh
./configure --prefix="/usr" --disable-sqlite --disable-bow-docs --disable-full-suite
make
}
#check() {
# cd "libsndfile"
# make check
#}
package() {
cd "libsndfile"
make DESTDIR="$pkgdir" install
}
|