#Maintainer: Milos Spasovic (mfluder) pkgname=gnomecatalog pkgver=0.3.4.1 pkgrel=1 zenver=54 arch=i486 source=("http://switch.dl.sourceforge.net/sourceforge/gnomecatalog/gnomecatalog_0.3.4.1.tar.gz") sourcetemplate=http://users.zenwalk.org/user-accounts/mfluder/$pkgname/$pkgver/ docs=("authors" "changelog" "license" "readme" "todo") url=http://www.gnomecatalog.org/ extradepends=("gnome-python" "kaa-base" "kaa-metadata" "pygobject" "pygtk" "pysqlite" "sqlite") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnomecatalog (cataloging software for CDs and DVDs)" "Catalog your CDs, DVDs and files on your hard disk. It" "generates thumbnails of video and image files via thumbnailers" "and saves them in the database files. It saves the metadata of" "the files, so you can search in the metadata of MP3s, AVIs and" "images (EXIF). You can export to CSV and import cdcat files." ) build() { cd $startdir/src/$pkgname-$pkgver.orig python setup.py install --prefix=/usr --root=$startdir/pkg mkdir $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/pkg/usr/share/gnomecatalog/pixmaps/gcatalog.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps sed -i 's@/usr/share/gnomecatalog/pixmaps/gcatalog@gcatalog@g' $startdir/pkg/usr/share/applications/gnomecatalog.desktop }