summaryrefslogtreecommitdiffstats
path: root/trunk/PKGBUILD
blob: 1d260d4040fc2ce321b95402ce69ec2468025d9f (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
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=zenity
pkgver=3.28.1
pkgrel=1
pkgdesc="Display graphical dialog boxes from shell scripts"
url="https://git.gnome.org/browse/zenity"
arch=(x86_64)
license=(LGPL)
depends=(webkit2gtk libnotify)
makedepends=(itstool yelp-tools gettext gnome-common git)
_commit=7fee2da8076affd41113f7e7d6e8e61f9ff036ab  # tags/3.28.1^0
source=("git+https://git.gnome.org/browse/zenity#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/^ZENITY_//;s/_/./g;s/-/+/g'
}

prepare() {
  cd $pkgname
  NOCONFIGURE=1 ./autogen.sh
}

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

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

Copyright © 2002-2018 Judd Vinet and Aaron Griffin. The Arch Linux name and logo are recognized trademarks. Some rights reserved. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.