summaryrefslogtreecommitdiffstats
path: root/main/gdk-pixbuf/APKBUILD
blob: d7423068a0b1d9032b7d9f53995050550fae9ab1 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdk-pixbuf
pkgver=2.22.0
pkgrel=2
pkgdesc="GDK Pixbuf library"
url="http://www.gtk.org/"
license="LGPL"
depends=
depends_dev=
makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2"
replaces="gtk+"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="0447e70f7bada542182d12e6459442b0  gdk-pixbuf-2.22.0.tar.bz2"