summaryrefslogtreecommitdiff
path: root/community/yad/APKBUILD
blob: 383be904b5267ab831598d0b0a2c3257b2dc947e (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
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=0.40.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="GPL3"
depends="hicolor-icon-theme"
makedepends="gtk+2.0-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://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
}

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

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

sha512sums="103193b316b74cafe8ef3da982df66e3dae17a206bc1c6852eb321507bba93fc7b54c25e959d2dbbdddc267c72b639a8cd9f1f22c03c9bccce283b4c29b8af44  yad-0.40.0.tar.xz"