desktop/support-pkg-libindicate-qt/PKGBUILD

44 lines
1.2 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
2013-12-18 02:41:12 +08:00
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
2010-05-21 07:48:47 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2010-05-21 07:48:47 +08:00
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
2011-01-18 08:44:37 +08:00
pkgrel=3
2010-05-21 07:48:47 +08:00
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')
2010-06-18 22:25:03 +08:00
depends=('libindicate>=0.2.3-3')
2010-05-21 07:48:47 +08:00
makedepends=()
groups=("kde-uninstall" "kde-support")
options=('!debug' '!header')
2010-05-21 07:48:47 +08:00
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
2010-11-09 16:14:53 +08:00
mkdir -p build
2010-05-21 07:48:47 +08:00
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
2010-05-21 07:48:47 +08:00
make DESTDIR=${pkgdir} install
}