# Packaged by Didier Spaier # Warning: compilation fails with standard option. # Instead of using slkbuild directly execute the wrapper script # package.sh pkgname=$(pwd|sed "s,.*/,,") pkgver=13.0 pkgrel=1slint source=("http://www.jlemmens.nl/homepage/${pkgname}-${pkgver}.tar.gz" \ ) #url: http://www.jlemmens.nl/ docs=("copying" "license" "readme" "compile") options=("nosrcpack") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (A parser to play Daisy CD's with Linux)" "Daisy-player reads a DAISY-CD and plays its audio-files." "Daisy-player also CAN PLAY Audio-cd's and tries to fetch info using" "Author: Joss Lemmens" ) build() { cd $SRC/$pkgname-$pkgver || return 1 patch -p1 --verbose < $startdir/build_the_doc_with_man2html-1.6.diff ./configure \ --prefix=/usr make make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/${pkgname}-$pkgver cp doc/Changelog $PKG/usr/doc/${pkgname}-$pkgver cp $PKG/usr/share/doc/daisy-player/daisy-player.{description,html,txt} \ $PKG/usr/doc/${pkgname}-$pkgver rm -r $PKG/usr/share/doc }