diff options
author | Ismaël Bouya | 2015-07-07 14:03:14 +0200 |
---|---|---|
committer | Ismaël Bouya | 2015-07-07 14:03:14 +0200 |
commit | a19b7e7dd2f0ef0224ce8c875e7dfb58445e6f7a (patch) | |
tree | 4ad70ae6c5e64badfaadcf7a6327eea1c8c1a69b | |
download | aur-a19b7e7dd2f0ef0224ce8c875e7dfb58445e6f7a.tar.gz |
Initial commit to AUR4
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f79b924b51ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vorbis-tools-svn + pkgdesc = Extra tools for Ogg-Vorbis + pkgver = LATEST + pkgrel = 1 + url = http://www.xiph.org/vorbis + arch = x86_64 + arch = i686 + license = GPL2 + makedepends = subversion + depends = libao>=1.0.0 + depends = libvorbis + depends = curl>=7.16.2 + provides = vorbis-tools=1.4.0 + conflicts = vorbis-tools + +pkgname = vorbis-tools-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..37cb2a5c101c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +pkgname=vorbis-tools-svn +pkgver=LATEST +pkgrel=1 +arch=('x86_64' 'i686') +pkgdesc="Extra tools for Ogg-Vorbis" +url="http://www.xiph.org/vorbis" +license=('GPL2') +depends=('libao>=1.0.0' 'libvorbis' 'curl>=7.16.2') +makedepends=('subversion') +provides=('vorbis-tools=1.4.0') +conflicts=('vorbis-tools') + +_svntrunk=http://svn.xiph.org/trunk/vorbis-tools +_svnmod=vorbis-tools + +build() { + cd "$srcdir" + + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_svnmod-build" + cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build" + cd "$srcdir/$_svnmod-build" + + ./autogen.sh --prefix=/usr --without-speex --without-flac --without-kate + make || return 1 + make DESTDIR="$pkgdir/" install || return 1 + + rm -rf "$srcdir/$_svnmod-build" +} + |