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


                                                           
             
        
                                                                                         
                                                 
          
                 
                            
                                                            
                                                     
                                                                                           
                                   
 





                                      
         
                      



                                       
            

 




                      
           
                      

                                                 

 
                                                                                                                                                                
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=0.42.0
pkgrel=0
pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line"
url="https://sourceforge.net/projects/yad-dialog"
arch="all"
license="GPL-3.0"
depends="hicolor-icon-theme"
makedepends="gtk+2.0-dev intltool libtool automake autoconf"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/v1cont/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	default_prepare
	cd "$builddir"
	autoreconf -ivf && intltoolize
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--enable-icon-browser \
		--disable-html
	make
}

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

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
	mkdir -p "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="700b11f449b63ec1bc8fecf0d2df3ed18bc7078472de0f3ee034c28e3e096eb61559529cc094c76fc8a9959bbb3e5f159d621ad9739d857b0d9b8d7ff386deaa  yad-0.42.0.tar.gz"