summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libindicator/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libindicator/APKBUILD b/user/libindicator/APKBUILD
new file mode 100644
index 000000000..374a1e0ee
--- /dev/null
+++ b/user/libindicator/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libindicator
+pkgver=12.10.1
+pkgrel=0
+pkgdesc="Library for builidng indicators for applets"
+url="https://launchpad.net/libindicator"
+arch="all"
+options="!check" # broken tests
+license="GPL-3.0-only"
+makedepends="gtk+3.0-dev"
+subpackages="$pkgname-dev"
+source="https://launchpad.net/libindicator/12.10/$pkgver/+download/libindicator-$pkgver.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ CFLAGS="-Wno-error" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af libindicator-12.10.1.tar.gz"