diff options
author | root <root@rshg054.dnsready.net> | 2013-10-21 01:08:10 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-21 01:08:10 -0700 |
commit | 61f20cbeb90ac877764e14b7c4e1c5c08b3e5383 (patch) | |
tree | 8fb05b655ad5450c255af4dfd869ea29756bdad5 /community/cuetools/PKGBUILD | |
parent | 6f2775d967e6db730957ea986826945c408431c3 (diff) |
Mon Oct 21 01:07:41 PDT 2013
Diffstat (limited to 'community/cuetools/PKGBUILD')
-rw-r--r-- | community/cuetools/PKGBUILD | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/community/cuetools/PKGBUILD b/community/cuetools/PKGBUILD index 439ce866c..1bb3325e1 100644 --- a/community/cuetools/PKGBUILD +++ b/community/cuetools/PKGBUILD @@ -1,33 +1,39 @@ -# $Id: PKGBUILD 64846 2012-02-18 17:42:48Z stativ $ +# $Id: PKGBUILD 98850 2013-10-20 09:41:43Z stativ $ # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> pkgname=cuetools -pkgver=1.3.1 -pkgrel=5 -pkgdesc="Set of utilities for working with cue files and toc files" +pkgver=1.4.0 +pkgrel=1 +pkgdesc="Cue and toc file parsers and utilities" arch=('i686' 'x86_64') -url="http://developer.berlios.de/projects/cuetools/" +url="https://github.com/svend/cuetools" +#url="http://developer.berlios.de/projects/cuetools/" license=('GPL') depends=('glibc') -source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz \ - cuetag.patch) -md5sums=('45575f7a1bdc6615599fa6cb49845cca' - '38969241a7b6ac88e2f1b46c3da0ecc2') +source=("https://github.com/svend/cuetools/archive/${pkgver}.tar.gz" + "fix_build_with_automake-1.12.diff") +md5sums=('4492dae2b3f9e077f6455a1f1cddef3b' + '67a3b32711d1a1f508be6ed0f1bdadf3') -build() { - cd "$srcdir"/$pkgname-$pkgver +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 < "$srcdir/fix_build_with_automake-1.12.diff" || true - # fix cuetag - patch -Np0 < "$srcdir"/cuetag.patch - sed -i -e 's/--import-vc-from/--import-tags-from/' \ - -e 's/--remove-vc-all/--remove-all-tags/' extras/cuetag.sh + aclocal + autoheader + automake --force-missing --add-missing + autoconf +} + +build() { + cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --mandir=/usr/share/man + ./configure --prefix=/usr make } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install - install -m755 extras/cuetag.sh "$pkgdir"/usr/bin/cuetag.sh } |