1 # $Id: PKGBUILD, 2009/06/1$
2 # Maintainer: Maxime de Roucy <maxime.deroucy@gmail.com>
3 # Contributor: Maxime de Roucy <maxime.deroucy@gmail.com>
7 pkgdesc="Provide an advanced copier with play/pause/resume, with advanced management like playlist."
9 url="http://ultracopier.first-world.info/"
13 source=("http://files.first-world.info/ultracopier/${pkgver}/ultracopier-src-${pkgver}.tar.bz2")
14 md5sums=('d9ae8d02999e1a79b4dfd49f0268483c')
17 cd "$srcdir/ultracopier-${pkgver}/src"
19 sed -i -r 's/DEBUG_ULTRACOPIER [0-9]+/DEBUG_ULTRACOPIER 0/g' var.h || die "Error when set the debug level"
21 qmake -project || exit 1
22 qmake ultracopier.pro || exit 1
25 install -D -m 644 "other/ultracopier.desktop" "$pkgdir/usr/share/applications/ultracopier.desktop"
26 install -D -m 644 "other/ultracopier-128x128.png" "$pkgdir/usr/share/pixmaps/ultracopier.png"
27 install -D -m 755 ultracopier "$pkgdir/usr/bin/ultracopier"
33 mkdir -p "$pkgdir/usr/share/ultracopier"
34 cp -r lang "$pkgdir/usr/share/ultracopier/"
35 cp -r styles "$pkgdir/usr/share/ultracopier/"