#Packager: Dimitris Tzemos pkgname=k9copy pkgver=3.0.3 pkgrel=1dj source=("http://sourceforge.net/projects/k9copy-reloaded/files/$pkgname-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://sourceforge.net/projects/k9copy-reloaded slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "k9copy (A small utility to copy DVD)" "K9copy-Reloaded is the continuation of K9copy. K9Copy facilitates" "several methods for backing up a DVD. The software enables direct" "backup of a single layer DVD-5 provided the user's computer has a DVD}" "recorder. Likewise, direct backup of a dual layer DVD-9 is possible" "with a dual layer DVD recorder." ) build() { cd $SRC/$pkgname # Fix desktop files sed -e 's|Name=k9copy|Name=K9copy|g' \ -e '/xdg-open/d' -e '/Encoding/d' -e '/MimeTypes/d' \ -i k9copy{,_assistant}.desktop cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT5_BUILD=OFF make -j $numjobs || return 1 make install DESTDIR=$PKG }