desktop/support-pkg-libindicate-qt/PKGBUILD

44 lines
1.2 KiB
Bash

# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
_origname=libindicate-qt
pkgname=${_origname}
pkgbranch=0.2
pkgver=0.2.2
pkgrel=3
pkgdesc='A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. (Canonical Ayatana Project)'
arch=('i686' 'x86_64')
url="https://launchpad.net/libindicate"
license=('GPL')
depends=('libindicate>=0.2.3-3')
makedepends=()
groups=("kde-uninstall" "kde-support")
options=('!debug' '!header')
source=(http://launchpadlibrarian.net/32429490/libindicate-qt-0.2.2.tar.bz2)
md5sums=('edc09ce095e7aab01b85291ce9e5f78c') # libindicate-qt-0.2.2.tar.bz2
build() {
cd "$srcdir"/${_origname}-$pkgver
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
make DESTDIR=${pkgdir} install
}