blob: 6e2ea2734b6b0d7766f20b20f2434b6d724ddb71 (
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
|
# $Id: PKGBUILD 99867 2013-10-31 02:10:44Z allan $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Vincent Cappe <vcappe at gmail dot com>
# Contributor: Jeff Bailes <thepizzaking at gmail dot com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=liboggz
pkgver=1.1.1
pkgrel=3
pkgdesc="A simple programming interface for reading and writing Ogg files and streams"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/oggz/"
license=('custom:BSD')
depends=('libogg' 'sh')
makedepends=('doxygen' 'pkg-config')
source=("http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('3649a657f8e368b881ba8b1b57381ff7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--enable-static=no
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# license
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# bash completion
install -Dm644 bash-completion/oggz "${pkgdir}/usr/share/bash-completion/completions/oggz"
}
|