aboutsummaryrefslogtreecommitdiffstats
path: root/community/yad/APKBUILD
blob: 6f7cce6d68839d1811cc6016ca00a80830e81ad8 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=0.38.2
pkgrel=0
pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line"
url="http://sourceforge.net/projects/yad-dialog"
arch="all"
license="GPL3"
depends="hicolor-icon-theme"
depends_dev="gtk+2.0-dev intltool"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://sourceforge.net/projects/yad-dialog/files/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

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

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

md5sums="7c0f775ddd135407307c1401b389585f  yad-0.38.2.tar.xz"
sha256sums="91299cba8836b4e510c4527a081d0ad519ad0c6d9f96b3f7f5409acfb66fd5fa  yad-0.38.2.tar.xz"
sha512sums="24fdb44556521fa905b94e8c486b847e7366c980291c89aace712d940cd948760a500300d0f3a42be45354a6bb1b29a22d2a7aa747ff49b33b1f128681702f62  yad-0.38.2.tar.xz"