#Maintainer: George Vlahavas pkgname=grip pkgver=3.3.1 pkgrel=2gv source=("http://prdownloads.sourceforge.net/grip/grip-$pkgver.tar.gz" "grip-3.3.1-nohelp.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls" "credits") url=http://nostatic.org/grip/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "grip (a cd-player and cd-ripper for the Gnome desktop)" "Grip has the ripping capabilities of cdparanoia builtin, but can also" "use external rippers (such as cdda2wav). It also provides an automated" "frontend for MP3 (and other audio format) encoders, letting you take a" "disc and transform it easily straight into MP3s. Internet disc lookups" "are supported for retrieving track information from disc database" "servers. Grip works with DigitalDJ to provide a unified" "\"computerized\" version of your music collection." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/grip-3.3.1-nohelp.patch || exit 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps ( cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps ln -s ../../../../pixmaps/gripicon.png gripicon.png ) sed -i "s/.png//" $startdir/pkg/usr/share/applications/grip.desktop rm -rf $startdir/pkg/usr/share/gnome }