mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
45 lines
1.6 KiB
Bash
45 lines
1.6 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
|
|
|
|
pkgname=${_origname}
|
|
pkgbranch=0.2
|
|
pkgver=0.2.3
|
|
pkgrel=4
|
|
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=('glib2' 'dbus-glib' 'libxml2') # 'gtk2'
|
|
makedepends=()
|
|
groups=("kde-uninstall" "kde-support")
|
|
options=('!splitdbg' '!splithdr')
|
|
|
|
source=(http://launchpad.net/${_origname}/${pkgbranch}/${pkgver}/+download/${_origname}-${pkgver}.tar.gz
|
|
disable-libindicate-gtk-gtk-docs.patch disable-unneeded-stuff.patch)
|
|
md5sums=('c32f2cdd85534feea4a5ebd532ede641' # libindicate-0.2.3.tar.gz
|
|
'e307519e046c0cdb6a9928128044166e' # disable-libindicate-gtk-gtk-docs.patch
|
|
'0f8fe75f84a2f41b4c3ec700c07bb820') # disable-unneeded-stuff.patch
|
|
|
|
|
|
build() {
|
|
cd "$srcdir"/${_origname}-$pkgver
|
|
patch -Np0 -i "${srcdir}/../disable-unneeded-stuff.patch" || return 1
|
|
patch -Np0 -i "${srcdir}/../disable-libindicate-gtk-gtk-docs.patch" || return 1
|
|
./configure --prefix=/usr --disable-static --disable-gtk-doc --disable-gobject-introspection || return 1
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
|
|
# cleanup docs
|
|
rm -R "$pkgdir"/usr/share
|
|
}
|