1 # Contributor:Xemertix <arch88(at)katamail(dot)com>
2 # WinBallit is available in italian,english,german while Qtballit is available only in italian and german.
3 # The program's manual will be opened with firefox,this maybe changed in makefile.patch
9 pkgdesc="The linux version of WinBallit ballistic calculator"
10 url="http://www.earmi.it/download/winballit.htm"
11 arch=("i686" "x86_64")
13 source=(http://slack.isper.sk/pub/slackware-13.0/utilities/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.gz
17 md5sums=('f1a17d18f06d9db3bce528e4ed626b5d'
18 '40b2d0f2925d491c97b706c67e085294'
19 '6d9710c8f541e1821a25b8266b6f53e0')
22 cd ${srcdir}/${pkgname}
24 patch -p0 < ${srcdir}/makefile.patch || return 1
27 install -D -m 755 Qtballit ${pkgdir}/usr/bin/qtballit
29 mkdir -p ${pkgdir}/usr/share/{${pkgname},${pkgname}/i18n}
30 cp -a *.png ${pkgdir}/usr/share/${pkgname}
31 cp -a qtballit_de.qm ${pkgdir}/usr/share/${pkgname}/i18n
33 mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
34 cp -a *.htm COPYING INSTALL ${pkgdir}/usr/share/doc/${pkgname}
36 install -D -m 664 ${srcdir}/qtballit.desktop ${pkgdir}/usr/share/applications/qtballit.desktop