summaryrefslogtreecommitdiff
path: root/user/libindicator
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 21:51:24 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 22:15:56 -0500
commit118d7556d70f81e78c335b6e71318d5e4e2b5e21 (patch)
tree982ab5ee7697d25038aa2f7121aef763ac86e83c /user/libindicator
parentf8d80294e09284e1528e7cb14aa5784ebc440067 (diff)
downloadpackages-118d7556d70f81e78c335b6e71318d5e4e2b5e21.tar.gz
packages-118d7556d70f81e78c335b6e71318d5e4e2b5e21.tar.bz2
packages-118d7556d70f81e78c335b6e71318d5e4e2b5e21.tar.xz
packages-118d7556d70f81e78c335b6e71318d5e4e2b5e21.zip
user/libindicator: new package
Diffstat (limited to 'user/libindicator')
-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"