diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/cuetools/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/cuetools/PKGBUILD')
-rw-r--r-- | community/cuetools/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/cuetools/PKGBUILD b/community/cuetools/PKGBUILD new file mode 100644 index 000000000..439ce866c --- /dev/null +++ b/community/cuetools/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 64846 2012-02-18 17:42:48Z 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" +arch=('i686' 'x86_64') +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') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + # 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 + + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir" install + install -m755 extras/cuetag.sh "$pkgdir"/usr/bin/cuetag.sh +} |