summaryrefslogblamecommitdiff
path: root/user/libindicator/APKBUILD
blob: 8bae4ffde5a116c6d295acf82c1a64760c632730 (plain) (tree)






































                                                                                               
                                          


                                                                                                                                                                          
# 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" -j1 install
}

sha512sums="d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af  libindicator-12.10.1.tar.gz"