diff options
author | willemw12 | 2015-06-08 12:47:03 +0200 |
---|---|---|
committer | willemw12 | 2015-06-08 12:47:03 +0200 |
commit | 502aab9b7af176521e58c6995bc7bf3142ee84ad (patch) | |
tree | 44c5c19d88776c8dbd5904973ec2ff0e689885b2 | |
download | aur-502aab9b7af176521e58c6995bc7bf3142ee84ad.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1f07fc6d8adb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = libtremor-svn + pkgdesc = Integer-only, fully Ogg Vorbis compliant software decoder library + pkgver = r19483 + pkgrel = 1 + url = http://www.xiph.org/vorbis/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = subversion + depends = libogg + provides = libtremor + conflicts = libtremor + options = !libtool + source = libtremor-svn::svn+http://svn.xiph.org/trunk/Tremor + md5sums = SKIP + +pkgname = libtremor-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a074bb7bc209 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: willemw <willemw12@gmail.com> +# Contributor: josephgbr <rafael.f.f1@gmail.com> +# Contributor: rabyte <rabyteNOSPAM_at_moonblade.dot.org> + +_pkgname=libtremor +pkgname=$_pkgname-svn +pkgver=r19483 +pkgrel=1 +pkgdesc="Integer-only, fully Ogg Vorbis compliant software decoder library" +arch=('i686' 'x86_64') +url="http://www.xiph.org/vorbis/" +license=('BSD') +depends=('libogg') +makedepends=('subversion') +provides=($_pkgname) +conflicts=($_pkgname) +options=('!libtool') +source=($pkgname::svn+http://svn.xiph.org/trunk/Tremor) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + local ver="$(svnversion)" + printf "r%s" "${ver//[[:alpha:]]}" +} + +prepare() { + cd $pkgname + # Fix for automake 1.13 + sed -i "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.in +} + +build() { + cd $pkgname + ./autogen.sh --prefix=/usr + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + |