summaryrefslogtreecommitdiff
path: root/user/libindicator/APKBUILD
blob: a76c9b185e95f2d2044115f7f974b8971051053d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=libindicator
pkgver=16.10
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"
depends=""
makedepends="gtk+3.0-dev ido-dev autoconf automake libtool"
subpackages="$pkgname-dev"
source="http://unrealize.co.uk/source/libindicator-$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	CFLAGS="-Wno-error" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" -j1 install
}

sha512sums="451aca0a2bd127bb49cc5b01f4cf1a33d85c3618257e822a16f29774f7eba919fbeca9515e5cb6c5e15bf315d20335ad5742d197cf561d2442891c1552de62a3  libindicator-16.10.tar.gz"