Advertisement
TZ86

Untitled

Mar 24th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.77 KB | None | 0 0
  1. # $Id: PKGBUILD 178947 2013-03-01 10:19:09Z andrea $
  2. # Maintainer: Andrea Scarpino <andrea@archlinux.org>
  3.  
  4. pkgname=appmenu-qt5
  5. pkgver=0.2.7+14.04.20140305
  6. pkgrel=1
  7. pkgdesc="Allows Qt applications to export menus over DBus to a menu applet"
  8. arch=('i686' 'x86_64')
  9. url='https://launchpad.net/appmenu-qt'
  10. license=('GPL')
  11. depends=('libdbusmenu-qt5')
  12. makedepends=('cmake')
  13. source=("http://archive.ubuntu.com/ubuntu/pool/main/a/appmenu-qt/appmenu-qt_${pkgver}.orig.tar.gz")
  14. md5sums=('968299e6e2b23d0c897e64bfedf19db3')
  15. options=(debug)
  16.  
  17. build() {
  18.   mkdir -p build
  19.   cd build
  20.   cmake ../appmenu-qt-${pkgver} \
  21.     -DCMAKE_INSTALL_PREFIX=/usr \
  22.     -DCMAKE_BUILD_TYPE=Release \
  23.     -DUSE_QT5=On
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd build
  29.   make DESTDIR="${pkgdir}" install
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement