1 # Maintainer: karabaja4 <karabaja4@gmail.com>
7 pkgdesc="Lightweight & cross-platform clipboard history applet based on qt"
9 url="https://gitorious.org/qlipper/qlipper2"
15 _gitroot="git://gitorious.org/qlipper/qlipper2.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 cp -R "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 qmake INSTALL_PREFIX=/usr
42 cd "$srcdir/$_gitname-build"
43 install -m 755 -d ${pkgdir}/usr/share/qlipper/translations
44 install -D -m755 qlipper ${pkgdir}/usr/bin/qlipper
45 install -Dm644 qlipper.desktop ${pkgdir}/usr/share/applications/qlipper.desktop
46 install -Dm644 src/icons/qlipper.png ${pkgdir}/usr/share/pixmaps/qlipper.png
47 install -Dm644 ts/*.qm ${pkgdir}/usr/share/qlipper/translations