diff options
author | Ismaël Bouya | 2015-07-07 14:22:51 +0200 |
---|---|---|
committer | Ismaël Bouya | 2015-07-07 14:22:51 +0200 |
commit | d3878e7421aabd14c54b144e22a622d425590e37 (patch) | |
tree | 2858b399c3b650130aeb3614263177aa54537f1a | |
parent | a19b7e7dd2f0ef0224ce8c875e7dfb58445e6f7a (diff) | |
download | aur-vorbis-tools-svn.tar.gz |
Correct PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 23 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = vorbis-tools-svn pkgdesc = Extra tools for Ogg-Vorbis - pkgver = LATEST + pkgver = 19492 pkgrel = 1 url = http://www.xiph.org/vorbis arch = x86_64 @@ -12,6 +12,8 @@ pkgbase = vorbis-tools-svn depends = curl>=7.16.2 provides = vorbis-tools=1.4.0 conflicts = vorbis-tools + source = svn+http://svn.xiph.org/trunk/vorbis-tools/ + sha1sums = SKIP pkgname = vorbis-tools-svn @@ -1,5 +1,8 @@ +# Maintainer : Immae <ismael.bouya@normalesup.org> +# Contributor : AdrianoML + pkgname=vorbis-tools-svn -pkgver=LATEST +pkgver=19492 pkgrel=1 arch=('x86_64' 'i686') pkgdesc="Extra tools for Ogg-Vorbis" @@ -10,29 +13,31 @@ makedepends=('subversion') provides=('vorbis-tools=1.4.0') conflicts=('vorbis-tools') -_svntrunk=http://svn.xiph.org/trunk/vorbis-tools _svnmod=vorbis-tools +source=('svn+http://svn.xiph.org/trunk/vorbis-tools/') + +pkgver() { + cd "$_svnmod" + svnversion +} 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 --enable-vcut + ./configure --prefix=/usr --without-speex --enable-vcut - ./autogen.sh --prefix=/usr --without-speex --without-flac --without-kate - make || return 1 - make DESTDIR="$pkgdir/" install || return 1 + make +} + +package() { + cd "$srcdir/$_svnmod-build" + make DESTDIR="$pkgdir/" install rm -rf "$srcdir/$_svnmod-build" } - +sha1sums=('SKIP') |