aboutsummaryrefslogtreecommitdiffstats
path: root/community/yad/APKBUILD
blob: 8af072917de4c62bda141dfaeb5385c0d4c45691 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=9.3
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 !mips64" # webkit2gtk
license="GPL-3.0-or-later"
depends="hicolor-icon-theme"
makedepends="gtk+3.0-dev webkit2gtk-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://github.com/v1cont/yad/releases/download/v$pkgver/yad-$pkgver.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--enable-icon-browser \
		--enable-html \
		--disable-pfd
	make
}

check() {
	echo "src/util.c" >> po/POTFILES.in
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e280123ac969beaaaf6d51eafdd3dc15b0214cc93e9e6389f9c775339d18bd0fb0d3f2cd168f886e5d87013f515721cc6f2b859d37aac59c0aa9255ff512be72  yad-9.3.tar.xz"