blob: 8c2fa23deda27bf3bd268add8502f63d88147ae1 (
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
45
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=audiofile-git
pkgver=0.3.6.r25.gb62c902
pkgrel=2
pkgdesc="Library for reading and writing audio files in many common formats"
arch=('i686' 'x86_64')
url="https://audiofile.68k.org/"
license=('LGPL')
depends=('glibc' 'alsa-lib' 'flac')
makedepends=('git')
provides=("audiofile=$pkgver")
conflicts=('audiofile')
options=('staticlibs')
source=("git+https://github.com/mpruett/audiofile.git")
sha256sums=('SKIP')
pkgver() {
cd "audiofile"
git describe --long --tags | sed 's/^audiofile-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "audiofile"
./autogen.sh
./configure \
--prefix="/usr" \
--disable-docs
make
}
check() {
cd "audiofile"
make check
}
package() {
cd "audiofile"
make DESTDIR="$pkgdir" install
}
|