updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / tagtool / PKGBUILD
blobd5fd741c65277880d843877cacd91bd8b5fdbd9a
1 # Maintainer: Stefan Husmann <stefan-husmannt-online.de>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: tardo <tardo@nagi-fanboi.net>
4 # Contributor: Filip Wojciechowski <filip at loka dot pl>
6 pkgname=tagtool
7 pkgver=0.12.3
8 pkgrel=6
9 pkgdesc="Tool to edit tags in MP3 and Ogg Vorbis files"
10 arch=('i686' 'x86_64')
11 url="http://downloads.sourceforge.net/sourceforge/$pkgname"
12 license=('GPL')
13 depends=('hicolor-icon-theme' 'libglade' 'id3lib' 'libvorbis' 'gconf')
14 makedepends=('intltool')
15 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
16 md5sums=('447b3a505fee68a82f25dcda9377b676')
17 install=tagtool.install
19 build() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   ./configure --prefix=/usr --datadir=/usr/share 
22   make
24 package() {
25   cd ${srcdir}/${pkgname}-${pkgver}
26   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install 
27   install -m755 -d "${pkgdir}/usr/share/gconf/schemas" 
28   gconf-merge-schema \
29     "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain \
30     tagtool ${pkgdir}/etc/gconf/schemas/*.schemas 
31   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas