# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'libindicator' setvar pkgver = '12.10.1' setvar pkgrel = '0' setvar pkgdesc = ""Set of symbols and convenience functions for Ayatana indicators (GTK+ 3 library)"" setvar url = ""https://launchpad.net/libindicator"" setvar arch = ""all"" setvar license = ""GPL3"" setvar makedepends = ""gtk+3.0-dev"" setvar subpackages = ""$pkgname-dev"" setvar source = ""https://launchpad.net/$pkgname/${pkgver%.*}/${pkgver}/+download/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { default_prepare cd $builddir sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.am sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator/Makefile.in update_config_sub } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --localstatedir=/var \ --libexecdir=/usr/lib/libindicator \ --sysconfdir=/etc \ --with-gtk=3 \ --disable-static \ --disable-tests make } proc check { cd $builddir make check } proc package { cd $builddir make DESTDIR="${pkgdir}" install } setvar sha512sums = ""d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af libindicator-12.10.1.tar.gz""