summaryrefslogtreecommitdiff
path: root/extra/zenity/PKGBUILD
blob: 7c0c12406ce2ddaf2291bbbd815f5f9c8c678200 (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
# $Id: PKGBUILD 201378 2013-12-10 10:09:05Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=zenity
pkgver=3.10.2
pkgrel=1
pkgdesc="Display graphical dialog boxes from shell scripts"
arch=(i686 x86_64 mips64el)
license=(LGPL)
depends=(gtk3 libnotify)
makedepends=(intltool gtk-doc itstool docbook-xsl git gnome-common yelp-tools)
url="http://www.gnome.org"
source=(git://git.gnome.org/zenity#tag=ZENITY_${pkgver//./_})
sha256sums=('SKIP')

prepare() {
  cd $pkgname
  git cherry-pick -n 80bc8ce643979fec201c4ebd5cd6405b6310357f
}

build() {
  cd $pkgname
  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var
  make
}

package() {
  cd $pkgname
  make DESTDIR="${pkgdir}" install
}