blob: ca02db19d6a655d34c8fcf9497121372771dabdd (
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=3.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="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="2d97d0216c87be60a62b1e8c2e168c036b21f3d5d68f415dfe2f853cce630ca50660e988c3ba0cd4a5f287eb046abcfbbc2d046d62aaa8a8a32206b6e218467b yad-3.0.tar.gz"
|