aboutsummaryrefslogtreecommitdiffstats
path: root/community/yad/APKBUILD
blob: 665ec20176bef9973756ea04c5e3d0ca2f67ab6b (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.37.0
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="3a66cf4704c110d71bfcd6fcc227d5bd  yad-0.37.0.tar.xz"
sha256sums="91efaf24b56dfbed8e86e4af800f13ec9cca4b550b82b65552aaab40ebd3183a  yad-0.37.0.tar.xz"
sha512sums="8020aa194dbbf2f0e4613454b941c512a1712768d824fc1d5497856f58bdd07f88263bc09033242fe6d83909018157b962c6c013103ceaea7534286f61c1442c  yad-0.37.0.tar.xz"