updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / qt4-fsarchiver / PKGBUILD
blob76aa81bec1cef0f5ffa491268844f3e09924487e
1 # qt4-fsarchiver by Francois Dupoux, Hihin Ruslan and Dieter Baum
2 # PKGBUILD by hasufell
4 pkgname=qt4-fsarchiver
5 pkgver=0.6.12
6 pkgrel=1
7 pkgdesc='GUI for fsarchiver'
8 arch=('i686' 'x86_64')
9 url='http://sourceforge.net/projects/qt4-fsarchiver/'
10 license=('GPL')
11 depends=('fsarchiver' 'kdesudo')
12 makedepends=('qt')
13 source=("http://sourceforge.net/projects/${pkgname}/files/source/${pkgname}-${pkgver}-8.tar.gz")
15 sha1sums=('50e5180bf3a863f565225c7b4982f58f0278b502')
17 build() {
18         cd "${srcdir}/${pkgname}"
19         qmake
22 package() {
23         cd "${srcdir}/${pkgname}"
24         make
25         make INSTALL_ROOT="${pkgdir}" install
26         mkdir -p ${pkgdir}/usr/share/qt/translations
27         rm -R ${pkgdir}/usr/share/qt4
28         install -D -m644 ${srcdir}/${pkgname}/translations/*.qm ${pkgdir}/usr/share/qt/translations
29         sed s/Terminal=true/Terminal=false/ -i ${pkgdir}/usr/share/applications/qt4-fsarchiver.desktop
30         sed s/sudo/kdesudo/ -i ${pkgdir}/usr/share/applications/qt4-fsarchiver.desktop
31