Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD appset-qt

By: a guest on Mar 1st, 2013  |  syntax: None  |  size: 0.98 KB  |  views: 207  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Simone Tobia <simone.tobia at gmail dot com>
  2.  
  3. pkgname=appset-qt
  4. pkgver=0.7.2
  5. pkgrel=1
  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=('qt4')
  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.2/appset-qt-0.7.2-sources.tar.gz)
  15. md5sums=(8658b6452e1f941af8501a6a772b6cd9)
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname-$pkgver-sources
  19.   qmake-qt4 PREFIX=/usr -Wnone
  20.  
  21.   #localization
  22.   lrelease Qt/AppSet-Qt/*.ts
  23.   lrelease Qt/AppSetTray-Qt/*.ts
  24.   lrelease Qt/AppSetRepoEditor-Qt/*.ts
  25.  
  26.   make || return 1
  27. }
  28.  
  29. package() {
  30.     cd $srcdir/$pkgname-$pkgver-sources
  31.  
  32.     make INSTALL_ROOT="$pkgdir/" install
  33.  
  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"
  37. }
clone this paste RAW Paste Data