PKGBUILDs/community/tagtool/PKGBUILD

30 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Stefan Husmann <stefan-husmannt-online.de>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: tardo <tardo@nagi-fanboi.net>
# Contributor: Filip Wojciechowski <filip at loka dot pl>
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
}