updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / dukto-svn / PKGBUILD
blob485214bce2cab920b2d7760756276ef8fb6361a3
1 # Maintainer: Dan Serban
2 # Contributors: Stefan Husmann, tomk
4 pkgname=dukto-svn
5 pkgver=latest
6 pkgrel=1
7 pkgdesc="A simple, fast and multi-platform file transfer tool for LAN users"
8 arch=(i686 x86_64)
9 url=http://code.google.com/p/dukto/
10 license=(GPL)
11 depends=(qt)
12 makedepends=(subversion)
14 _svntrunk=http://dukto.googlecode.com/svn/trunk/
15 _svnmod=dukto-read-only
17 build()
19   svn co ${_svntrunk} ${_svnmod}
20   cd dukto-read-only/src
21   qmake Dukto.pro
22   make
23   install -Dm755 Dukto "${pkgdir}"/usr/bin/dukto
24   mkdir -p "${pkgdir}"/usr/share/applications
25   DESKTOPFILE="${pkgdir}"/usr/share/applications/dukto.desktop
26   echo "[Desktop Entry]" > "${DESKTOPFILE}"
27   echo "Name=Dukto" >> "${DESKTOPFILE}"
28   echo "GenericName=Transfer files across the LAN" >> "${DESKTOPFILE}"
29   echo "Comment=Transfer files across the LAN" >> "${DESKTOPFILE}"
30   echo "Exec=dukto" >> "${DESKTOPFILE}"
31   echo "Terminal=false" >> "${DESKTOPFILE}"
32   echo "Type=Application" >> "${DESKTOPFILE}"
33   echo "Categories=Network;Application;" >> "${DESKTOPFILE}"