desktop/support-pkg-libindicate-qt/PKGBUILD
Manuel Tortosa 685c76c393 Merge
2011-02-14 23:17:10 +01:00

44 lines
1.2 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
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=('!splitdbg' '!splithdr')
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 || return 1
make DESTDIR=${pkgdir} install
}