# Maintainer: Stefan Husmann # Contributor: Allan McRae # Contributor: tardo # Contributor: Filip Wojciechowski pkgname=tagtool pkgver=0.12.3 pkgrel=4 pkgdesc="Tool to edit tags in MP3 and Ogg Vorbis files" arch=('i686' 'x86_64') url="http://pwp.netcabo.pt/paol/tagtool/" license=('GPL') depends=('libglade' 'id3lib' 'libvorbis') makedepends=('intltool') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('447b3a505fee68a82f25dcda9377b676') install=tagtool.install build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --datadir=/usr/share || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema \ "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain \ tagtool ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }