blob: aa7c619c36fbab7f49832ede1efdbff34f0e7270 (
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
45
46
47
48
49
50
51
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zenity
pkgver=3.20.0
pkgrel=0
pkgdesc="A GTK+-based xdialog replacement"
url="http://www.gnome.org/"
arch="all"
license="GPL2+"
depends=
makedepends="gtk+3.0-dev intltool libxml2-utils libnotify-dev itstool"
install=""
subpackages="$pkgname-lang $pkgname-doc"
case $pkgver in
*.*.*.*) _v=${pkgver%.*.*};;
*.*.*) _v=${pkgver%.*};;
*.*) _v=$pkgver;;
esac
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${_v}/${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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="23f84cd3807da36455525357385f7586 zenity-3.20.0.tar.xz"
sha256sums="02e8759397f813c0a620b93ebeacdab9956191c9dc0d0fcba1815c5ea3f15a48 zenity-3.20.0.tar.xz"
sha512sums="62b7415900f30b3b74ebd1a7a82e2c1240a31caa2b3a6a613f10b451e68f4c4cd575d23414f65776e676b650246791e9199585a1b3395f3ed4eb910829f304a6 zenity-3.20.0.tar.xz"
|