summaryrefslogblamecommitdiff
path: root/user/ido/APKBUILD
blob: a2714b183c741ea07ad3d829c134151f7198ebb2 (plain) (tree)










































                                                                                                                                                                 
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=ido
pkgver=12.10.2
pkgrel=0
pkgdesc="Library for indicator display objects"
url="https://launchpad.net/libido"
arch="all"
options="!check" # broken testsuite
license="(LGPL-2.1-only OR LGPL-3.0-only) AND GPL-3.0-only AND LGPL-2.0+"
makedepends="gtk+3.0-dev"
subpackages="$pkgname-dev"
source="https://launchpad.net/ido/12.10/$pkgver/+download/ido-$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="f745380bbc8b97c739691ae4f0dc27d5903ff078e92aaa2280d2c830c77ea2ad29b3abb4a49ffc7cc928b32e3a60ad64de20087980e02e5d5233eeb22978d2dc  ido-12.10.2.tar.gz"