aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libgnomecanvas/APKBUILD
blob: 1dab65657fa231e0ed289405ece8972b8e4c9acc (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
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=libgnomecanvas
pkgver=2.30.3
pkgrel=1
pkgdesc="GNOME Canvas library"
url="https://www.gnome.org/"
arch="all"
license="GPL-2.0"
makedepends="intltool libart-lgpl-dev glib-dev pango-dev gtk+2.0-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
builddir="$srcdir/"$pkgname-$pkgver

prepare() {
	update_config_guess
	default_prepare
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b5bfa2133f5172abd5228d467db4d980dd4ac125cdbf55dcc1d5055dc3330861320c12cccb52ea63ba7f69824504c9d25781cd78001dc7a92b11c6f7e0c550de  libgnomecanvas-2.30.3.tar.bz2"