diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 13:41:04 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-11-30 13:41:04 +0000 |
commit | 74594a2554f933f1fb34c1c84c8259649deaae74 (patch) | |
tree | 22ce0efae8251921a2a925e2eb2ed00cb96d7fe3 /testing/yad/APKBUILD | |
parent | 34730307c91910f13938de6698ab3a46c6acbafb (diff) | |
download | aports-74594a2554f933f1fb34c1c84c8259649deaae74.tar.bz2 aports-74594a2554f933f1fb34c1c84c8259649deaae74.tar.xz |
testing/yad: new aport. Fixes #4897
Diffstat (limited to 'testing/yad/APKBUILD')
-rw-r--r-- | testing/yad/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/yad/APKBUILD b/testing/yad/APKBUILD new file mode 100644 index 0000000000..0b380db55a --- /dev/null +++ b/testing/yad/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=yad +pkgver=0.32.0 +pkgrel=0 +pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line" +url="http://sourceforge.net/projects/yad-dialog" +arch="all" +license="GPL3" +depends="hicolor-icon-theme" +depends_dev="gtk+2.0-dev intltool" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://sourceforge.net/projects/yad-dialog/files/yad-0.32.0.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 \ + --prefix=/usr \ + --enable-icon-browser \ + --disable-html + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF +*** Icon cache not updated. Remember to run: +*** +*** gtk-update-icon-cache -f -t /usr/share/icons/hicolor +EOF + +} + +md5sums="c4c7c64f86cc10383fb624e6659838de yad-0.32.0.tar.xz" +sha256sums="108f0bf9b1b649106188e523e14f3f056ae0bba1251dd85c4756fae02512e4ae yad-0.32.0.tar.xz" +sha512sums="f1bdcabeaed50e1c2a44cbf8091e09ad9ada0cd0205b0c0e9f403d080d068dedad478ac5b38286ceb39afef7a1884a13418ac7f6a96f88f0d6fbb5fd9f36780f yad-0.32.0.tar.xz" + |