summaryrefslogtreecommitdiff
path: root/community/liboggz
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-23 23:15:11 +0000
committerroot <root@rshg054.dnsready.net>2012-02-23 23:15:11 +0000
commitd466ef49f224a9347fe0375eac8126725e10a0a4 (patch)
treec08a9d7437c4d6de169858ac98fb340fd90202c2 /community/liboggz
parent1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (diff)
Thu Feb 23 23:15:11 UTC 2012
Diffstat (limited to 'community/liboggz')
-rw-r--r--community/liboggz/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/liboggz/PKGBUILD b/community/liboggz/PKGBUILD
new file mode 100644
index 000000000..a59a76743
--- /dev/null
+++ b/community/liboggz/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 66071 2012-02-22 22:11:00Z giovanni $
+# 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=2
+pkgdesc="A simple programming interface for reading and writing Ogg files and streams"
+arch=('i686' 'x86_64')
+url="http://www.xiph.org/oggz/"
+license=('custom:BSD')
+depends=('libogg' 'sh')
+makedepends=('doxygen' 'pkg-config')
+options=('!libtool')
+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}/etc/bash_completion.d/oggz"
+}