blob: ed1c6e64e3e802d794361450e86948d7967155e5 (
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=libvorbis-git
pkgver=1.3.5.r55.g8a8f858
pkgrel=1
pkgdesc="Reference implementation of the Ogg Vorbis audio format"
arch=('i686' 'x86_64')
url="http://www.vorbis.com/"
license=('BSD')
depends=('libogg')
makedepends=('git')
provides=('libvorbis' 'libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
conflicts=('libvorbis')
options=('staticlibs')
source=("git+https://git.xiph.org/vorbis.git")
sha256sums=('SKIP')
pkgver() {
cd "vorbis"
git describe --long --tags | sed 's/^[A-Za-z]*//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "vorbis"
./autogen.sh
./configure --prefix="/usr"
make
}
check() {
cd "vorbis"
make check
}
package() {
cd "vorbis"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/libvorbis/COPYING"
}
|