# Maintainer: Jesus E. pkgname=cuetools pkgver=1.4.1 pkgrel=1 pkgdesc="Cue and toc file parsers and utilities" arch=('i686' 'x86_64') url='https://github.com/svend/cuetools' license=('GPL-2') depends=('glibc') optdepends=('id3v2: mp3 support in cuetag') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/svend/cuetools/archive/${pkgver}.tar.gz") sha512sums=('dc81e6ec756f9d040dd913e8f340be136d68619caa24bdec21364f94b4fc0ffcbcf21325c7fd53c9230d6d70a2856b45a32c5ca7f41ec76fa47298bf226d959e') prepare() { cd "$srcdir/$pkgname-$pkgver" aclocal autoheader automake --force-missing --add-missing autoconf } build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" }