summaryrefslogblamecommitdiff
path: root/user/libdbusmenu-qt/APKBUILD
blob: 35826dd02dd19122226d9f49dd2a652cded0efb2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        


                                                  
                           
                                            
        
                                                        
                                           






                                                                       

                                                                                                
 
         



                                                   

                     


           
                                               


                                                                                                                                                                                              
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libdbusmenu-qt
pkgver=0.9.3.16.04.20160218
_realver="${pkgver%.*.*.*}+${pkgver#*.*.*.}"
pkgrel=0
pkgdesc="library to export QMenu over DBusMenu protocol"
url="https://launchpad.net/libdbusmenu-qt/"
arch="all"
options="!check"  # requires as-of-yet unpkg'd qjson, may require dbus?
license="LGPL-2.1+"
depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev cmake doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_realver}.orig.tar.gz"
builddir="$srcdir/$pkgname-$_realver"

build() {
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
	      -DCMAKE_INSTALL_LIBDIR=lib \
	      -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
	      -DUSE_QT5=ON \
	      -Bbuild
	make -C build
}

package() {
	make DESTDIR="$pkgdir" -C build install
}

sha512sums="dfaba59cedd320e6a3b5a9c0a5e13fb9e0952224e39cdd6ee3b32b03d95ac850a533e2a73835a7c0ead93b2283b9c235472bacb84e3d761ebe9e9398345314a9  libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz"