summaryrefslogtreecommitdiff
path: root/pcr/zenity-gtk2
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-18 16:19:52 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-18 16:19:52 -0400
commita506ffaf3c1508377d758328e19364e3fa088f08 (patch)
treef7b8579389aa4f426046ffa2a856fe1fb1dbe748 /pcr/zenity-gtk2
parentb03e11ce0c27ee3eb6f33d4a8e78fc1a531b1929 (diff)
add pcr/zenity-gtk2
Diffstat (limited to 'pcr/zenity-gtk2')
-rw-r--r--pcr/zenity-gtk2/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/zenity-gtk2/PKGBUILD b/pcr/zenity-gtk2/PKGBUILD
new file mode 100644
index 000000000..f66bd21ec
--- /dev/null
+++ b/pcr/zenity-gtk2/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 183472 2013-04-21 22:12:29Z heftig $
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (Arch): Jan de Groot <jgc@archlinux.org>
+
+pkgname=zenity-gtk2
+pkgver=3.10.0.git20131018
+_gitver='commit=23a7232661bbc2058a483c52394a200f1803a6b0'
+pkgrel=1
+pkgdesc="Display graphical dialog boxes from shell scripts (GTK 2 port)"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gtk2' 'libnotify')
+makedepends=('intltool' 'gtk-doc' 'itstool' 'docbook-xsl')
+url="https://lukeshu.com/git/zenity-gtk2.git/"
+source=("libre://${pkgname}-${pkgver}.tar.gz")
+
+provides=(zenity=$pkgver)
+conflicts=(zenity)
+
+mkdepends=(git gnome-common yelp-tools)
+mksource=(".$pkgname-$pkgver::git://lukeshu.com/zenity-gtk2.git#${_gitver}")
+mkmd5sums=('SKIP')
+mksource() {
+ cd "$srcdir/.$pkgname-$pkgver"
+ ./autogen.sh
+ make -C help PACKAGE="$pkgname" VERSION="$pkgver"
+ make dist PACKAGE="$pkgname" VERSION="$pkgver"
+ cd "$srcdir"
+ bsdtar xf ".$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --with-gtk=2.0
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}
+
+sha256sums=('651af86234dc098eba28eb9e88d74afc25662ed95c459dfa50882fd39c2a479b')