blob: feb27a780b054030703f6e42e7b9e5d8edf15cf9 (
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
41
42
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=0.42.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+2.0-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
cd "$builddir"
autoreconf -ivf && intltoolize
}
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="700b11f449b63ec1bc8fecf0d2df3ed18bc7078472de0f3ee034c28e3e096eb61559529cc094c76fc8a9959bbb3e5f159d621ad9739d857b0d9b8d7ff386deaa yad-0.42.0.tar.gz"
|