updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / appset-qt / PKGBUILD
blob11d850fd3a84e36a7ed953bf501ea62325126011
1 # Maintainer: Simone Tobia <simone.tobia at gmail dot com>
3 pkgname=appset-qt
4 pkgver=0.7.1
5 pkgrel=2
6 pkgdesc="An advanced and feature rich Package Manager Frontend"
7 arch=('i686' 'x86_64')
8 url="http://appset.sourceforge.net/"
9 license=('GPL2')
10 depends=('qt>=4.7' 'qtwebkit')
11 optdepends=('packer: for AUR support')
12 install=${pkgname}.install
13 changelog=$pkgname.changelog
14 source=(http://sourceforge.net/projects/appset/files/appset-qt/0.7/0.7.1/appset-qt-0.7.1-sources.tar.gz)
15 md5sums=(83100d84a8735abd3a1cca4f6f1d3197)
17 build() {
18   cd $srcdir/$pkgname-$pkgver-sources
19   qmake PREFIX=/usr -Wnone
21   #localization
22   lrelease Qt/AppSet-Qt/*.ts
23   lrelease Qt/AppSetTray-Qt/*.ts
24   lrelease Qt/AppSetRepoEditor-Qt/*.ts
26   make || return 1
29 package() {
30     cd $srcdir/$pkgname-$pkgver-sources
32     make INSTALL_ROOT="$pkgdir/" install
34     #helper daemon
35     install -m 755 -d "$pkgdir/etc/rc.d" || return 1
36     install -m 755 "$srcdir/$pkgname-$pkgver-sources/AppSetHelper/appset-helper.sh" "$pkgdir/etc/rc.d/appset-helper"