blob: 7a13e568c788419bbef4c2fe8d269969f226df86 (
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
43
44
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yad
pkgver=0.34.2
pkgrel=0
pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line"
url="http://sourceforge.net/projects/yad-dialog"
arch="all"
license="GPL3"
depends="hicolor-icon-theme"
depends_dev="gtk+2.0-dev intltool"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://sourceforge.net/projects/yad-dialog/files/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--enable-icon-browser \
--disable-html
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
}
md5sums="94ce50a63fb30f708fbaa1e4dc9b3c8b yad-0.34.2.tar.xz"
sha256sums="6cae3b130aafc3973d73eaf5b321328b2b2c4ed76d8fe9f01b86f18c3b3309a9 yad-0.34.2.tar.xz"
sha512sums="e4436f538af52d55f15bda3d6845cab34b6795326207abff478e4496c6654133ff76258c7bfabd5fb5ef8037a2e96108f15968f84e8936565186baf7907ab7ec yad-0.34.2.tar.xz"
|