aboutsummaryrefslogtreecommitdiffstats
path: root/community/zenity/APKBUILD
blob: 21a08a6d8e4ec273bd45513c701e264f573129d4 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zenity
pkgver=3.24.0
pkgrel=0
pkgdesc="A GTK+-based xdialog replacement"
url="http://www.gnome.org/"
arch="all"
license="GPL2+"
makedepends="gtk+3.0-dev intltool libxml2-utils libnotify-dev itstool"
subpackages="$pkgname-lang $pkgname-doc"
case $pkgver in
*.*.*.*) _v=${pkgver%.*.*};;
*.*.*) _v=${pkgver%.*};;
*.*) _v=$pkgver;;
esac
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${_v}/${pkgname}-${pkgver}.tar.xz"

builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

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

sha512sums="b24291166221cc2dabeabfeab7ca00ca63ff21c12a4eb327cd35ac43f485b8d4a858dd717df1b35b8bd3fd89d0bb235609855c6d349b76879b0f77b4fedd4dd9  zenity-3.24.0.tar.xz"