aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libindicator/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/community/libindicator/APKBUILD b/community/libindicator/APKBUILD
new file mode 100644
index 0000000000..4ec404ffcf
--- /dev/null
+++ b/community/libindicator/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=libindicator
+pkgver=12.10.1
+pkgrel=0
+pkgdesc="Set of symbols and convenience functions for Ayatana indicators (GTK+ 3 library)"
+url="https://launchpad.net/libindicator"
+arch="all"
+license="GPL3"
+makedepends="gtk+3.0-dev"
+subpackages="$pkgname-dev"
+source="https://launchpad.net/$pkgname/${pkgver%.*}/${pkgver}/+download/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+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
+}
+
+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
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums="d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af libindicator-12.10.1.tar.gz"