summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2016-04-13 16:05:50 +0200
committerChristian Hesse2016-04-13 16:05:50 +0200
commit22e33d09c225803ff99fd22127a116c3d534be19 (patch)
treeb26e538eb9bab6159b6684b40d26aecc78b31374
downloadaur-22e33d09c225803ff99fd22127a116c3d534be19.tar.gz
commit yad-gtk2 0.35.0-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
-rw-r--r--yad.install10
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5fb495bb058
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Wed Apr 13 14:05:50 UTC 2016
+pkgbase = yad-gtk2
+ pkgdesc = A fork of zenity - display graphical dialogs from shell scripts or command line - for gtk2
+ pkgver = 0.35.0
+ pkgrel = 1
+ url = http://sourceforge.net/projects/yad-dialog
+ install = yad.install
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = intltool
+ depends = gtk2
+ source = http://sourceforge.net/projects/yad-dialog/files/yad-0.35.0.tar.xz
+ sha256sums = cd98bdbd888e6e3b7d91bd6ddd2f6c3a61c4b0a64b2f96081c63893468e43ba0
+
+pkgname = yad-gtk2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..18c198e0f07
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+# Contributor: Steven Allen <steven@stebalien.com>
+# Contributor: trile7 at gmail dot com
+# Contributor: Ernia <monghitri@aruba.it>
+
+pkgname=yad-gtk2
+pkgver=0.35.0
+pkgrel=1
+pkgdesc='A fork of zenity - display graphical dialogs from shell scripts or command line - for gtk2'
+url='http://sourceforge.net/projects/yad-dialog'
+arch=('x86_64' 'i686')
+license=('GPL3')
+depends=('gtk2')
+makedepends=('intltool')
+install='yad.install'
+source=($url/files/${pkgname%-gtk2}-${pkgver}.tar.xz)
+sha256sums=('cd98bdbd888e6e3b7d91bd6ddd2f6c3a61c4b0a64b2f96081c63893468e43ba0')
+
+build() {
+ cd "${srcdir}/${pkgname%-gtk2}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --with-gtk=gtk2 \
+ --disable-icon-browser \
+ --disable-html
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname%-gtk2}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
+
diff --git a/yad.install b/yad.install
new file mode 100644
index 00000000000..fc6aabcbb05
--- /dev/null
+++ b/yad.install
@@ -0,0 +1,10 @@
+post_install() {
+ post_upgrade
+}
+post_upgrade() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_upgrade
+} \ No newline at end of file