1 # Contributor: Fortunato Ventre (voRia) <vorione AT gmail.com>
5 pkgdesc="Quake Live Demo Tools"
7 url="http://sourceforge.net/projects/qldt/"
11 source=(http://downloads.sourceforge.net/project/qldt/qldt/${pkgver}/qldt-${pkgver}-src.tar.gz)
12 md5sums=('b5492883bcbeff3a546f4a6857d5acc8')
15 cd ${srcdir}/qldt-${pkgver}/
18 if [ "$CARCH" == "i686" ]; then
19 qmake -spec linux-g++-32
21 qmake -spec linux-g++-64
27 install -m755 -d ${pkgdir}/usr/bin/
28 install -m755 qldt ${pkgdir}/usr/bin/
29 install -m755 qldtce ${pkgdir}/usr/bin/
30 install -m755 -d ${pkgdir}/usr/share/icons/
31 install -m644 desktop/quakelive_demo.png ${pkgdir}/usr/share/icons/qldt_icon.png
32 install -m644 desktop/quakelive_cfg.png ${pkgdir}/usr/share/icons/qldtce_icon.png
33 install -m755 -d ${pkgdir}/usr/share/applications/
34 install -m644 desktop/*.desktop ${pkgdir}/usr/share/applications/
37 # vim:set ts=2 sw=2 et: