aboutsummaryrefslogblamecommitdiffstats
path: root/community/zenity/APKBUILD
blob: d3cd06c4c92ddce6cc4606ac5953d60830ee8b65 (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.28.1
pkgrel=0
pkgdesc="A GTK+-based xdialog replacement"
url="https://www.gnome.org/"
arch="all"
license="GPL-2.0-or-later"
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="https://download.gnome.org/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="07cfef3dc17b3d321e6abfb15c7d035caad7c2cba938263920c503e67d35e9a1dc86b48255334e50b58f6998eb4c064cc24ebd71d02f278b21b568500daae0c0  zenity-3.28.1.tar.xz"