aboutsummaryrefslogblamecommitdiffstats
path: root/community/zenity/APKBUILD
blob: 46232bca270bef0f3e4af4fd444ef0f54f071933 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                                                   
              
               
        
                                          

                           
               
        
                                                                      
          
                                        





                                                                                           
         













                                                                        



                                 
                                   
                           







                                                  


                                                                                                                                                                     
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zenity
pkgver=3.18.1.1
pkgrel=0
pkgdesc="A GTK+-based xdialog replacement"
url="http://www.gnome.org/"
arch="all"
license="GPL2+"
depends=
makedepends="gtk+3.0-dev intltool libxml2-utils libnotify-dev itstool"
install=""
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}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

md5sums="b1604dd12eefd6f7a0976cfeec3a6690  zenity-3.18.1.1.tar.xz"
sha256sums="e6317a03f58b528e2e3330fef5acea39506ec08a7c2aeec5c4f1e7505d43a80a  zenity-3.18.1.1.tar.xz"
sha512sums="fdadf8ed4e135d24401bcd17121f10681e12572391d843f6510347a6c9c568e23e0ff7fb3f80f0bbc0ffd6698b149faac547c1b99ac423229e6f491e2751e06a  zenity-3.18.1.1.tar.xz"