2011-03-10 06:14:08 +08:00
|
|
|
# Maintainer: Phil Miller <philm[at]chakra-project[dot]org>
|
|
|
|
# Committer: Simone Tobia <simone.tobia at gmail dot com>
|
2011-03-22 06:32:19 +08:00
|
|
|
# Translators: http://chakra-project.org/bbs/viewtopic.php?pid=29626#p29626
|
2011-03-10 06:14:08 +08:00
|
|
|
|
|
|
|
pkgname=appset-qt
|
2011-11-21 07:52:25 +08:00
|
|
|
pkgver=0.7.1
|
2011-10-27 02:15:15 +08:00
|
|
|
pkgrel=1
|
2011-03-10 06:14:08 +08:00
|
|
|
pkgdesc="An advanced and feature rich Package Manager Frontend"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://appset.sourceforge.net/"
|
|
|
|
license=('GPL2')
|
2011-10-19 07:02:30 +08:00
|
|
|
depends=('qt>=4.7' 'kde-baseapps-konsole')
|
2011-04-05 00:45:39 +08:00
|
|
|
optdepends=('ccr: For Community Repository support')
|
2011-03-10 06:14:08 +08:00
|
|
|
install=${pkgname}.install
|
2011-11-21 07:52:25 +08:00
|
|
|
source=("http://sourceforge.net/projects/appset/files/appset-qt/0.7/$pkgver/appset-qt-$pkgver-sources.tar.gz"
|
|
|
|
"http://chakra-linux.org/sources/$pkgname/appset-qt-oxygen-icons.tar.xz"
|
|
|
|
"http://chakra-linux.org/sources/$pkgname/$pkgname-0.7.0-chakra.patch"
|
2011-03-30 04:21:57 +08:00
|
|
|
)
|
2011-11-21 07:52:25 +08:00
|
|
|
md5sums=('83100d84a8735abd3a1cca4f6f1d3197'
|
|
|
|
'87f5f278e3fe67ed2cd6165c2835d81b'
|
|
|
|
'9b6b473d2a2ff31457f0f6e9fe3d345f')
|
2011-03-10 06:14:08 +08:00
|
|
|
|
|
|
|
build() {
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver-sources
|
2011-03-18 09:59:58 +08:00
|
|
|
# copy oxygen icons
|
2011-03-19 05:41:42 +08:00
|
|
|
cp -v ../*png Qt/AppSet-Qt
|
2011-03-18 09:59:58 +08:00
|
|
|
|
|
|
|
# patch it for Chakra GNU/Linux
|
2011-10-19 07:02:30 +08:00
|
|
|
patch -Np1 -i ${startdir}/src/$pkgname-0.7.0-chakra.patch
|
2011-03-18 09:59:58 +08:00
|
|
|
|
2011-03-24 07:41:14 +08:00
|
|
|
# check for updated strings
|
|
|
|
cd Qt/AppSet-Qt
|
2011-05-10 17:53:09 +08:00
|
|
|
lupdate *.cpp *.ui *.h -ts *.ts
|
2011-03-24 07:41:14 +08:00
|
|
|
cd ../AppSetTray-Qt
|
2011-05-10 17:53:09 +08:00
|
|
|
lupdate *.cpp *.h -ts *.ts
|
2011-06-16 02:48:20 +08:00
|
|
|
cd ../AppSetRepoEditor-Qt
|
|
|
|
lupdate *.cpp *.ui *.h -ts *.ts
|
2011-03-24 07:41:14 +08:00
|
|
|
cd ../..
|
|
|
|
|
2011-03-10 06:14:08 +08:00
|
|
|
qmake PREFIX=/usr -Wnone
|
2011-03-18 08:07:35 +08:00
|
|
|
|
|
|
|
#localization
|
|
|
|
lrelease Qt/AppSet-Qt/*.ts
|
|
|
|
lrelease Qt/AppSetTray-Qt/*.ts
|
2011-06-16 02:48:20 +08:00
|
|
|
lrelease Qt/AppSetRepoEditor-Qt/*.ts
|
2011-03-18 08:07:35 +08:00
|
|
|
|
2011-03-10 06:14:08 +08:00
|
|
|
make || return 1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-11-21 07:52:25 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver-sources
|
2011-03-10 06:14:08 +08:00
|
|
|
|
|
|
|
make INSTALL_ROOT="$pkgdir/" install
|
|
|
|
|
|
|
|
#helper daemon
|
|
|
|
install -m 755 -d "$pkgdir/etc/rc.d" || return 1
|
2011-11-21 07:52:25 +08:00
|
|
|
install -m 755 "$srcdir/$pkgname-$pkgver-sources/AppSetHelper/appset-helper.sh" "$pkgdir/etc/rc.d/appset-helper"
|
2011-03-10 06:14:08 +08:00
|
|
|
}
|
2011-04-28 09:10:22 +08:00
|
|
|
|