1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
8 pkgdesc="Samples for the dialog, a tool to display dialog boxes from shell scripts"
10 url="http://invisible-island.net/dialog/"
12 depends=('sh' 'bash' 'dialog>=1.1_20110118')
13 source=(ftp://invisible-island.net/${_pkgname}/${_pkgname}-$_pkgver.tgz)
16 cd ${srcdir}/${_pkgname}-${_pkgver}/samples/
17 install -dm755 ${pkgdir}/usr/share/doc/${_pkgname}/samples || return 1
18 find -maxdepth 1 -type f -perm +111 -print | \
19 xargs -I{} cp {} ${pkgdir}/usr/share/doc/$_pkgname/samples/ || return 1
20 for i in checklist9.txt README report-button report-edit report-string \
21 report-tempfile report-yesno setup-edit setup-tempfile setup-utf8 \
22 setup-vars testdata-8bit textbox.txt whiptail.rc; do
23 install -Dm 644 $i ${pkgdir}/usr/share/doc/$_pkgname/samples || return 1
26 # vim:set ts=2 sw=2 et ft=sh et:
27 md5sums=('15dd2ce9f537c0400f600d1a383aa0a3')