aboutsummaryrefslogtreecommitdiffstats
path: root/community/yad/APKBUILD
blob: 57145e13a6e1a8b89691541490ede7981b35bd23 (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
37
38
39
40
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=4.1
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+3.0-dev webkit2gtk-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
	autoreconf -ivf && intltoolize
}

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
	mkdir -p "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="440218a26f6c8d6d33cc016204e5101d3fe967e4e0d029160c5fcca588543ed76cfb1e39be92eb067ac292d27e144e4253a0526b83608ee7717288c27dce2005  yad-4.1.tar.gz"