1 # Maintainer: Thomas C. <Sekereg at gmx dot com>
7 pkgdesc="Create bash GUIs without worrying about running environment"
9 url="https://sites.google.com/site/easybashgui"
12 optdepends=('kdebase-kdialog: kdialog support'
13 'zenity: zenity support'
14 'xdialog: xdialog support'
15 'dialog: dialog support')
16 install=(easybashgui.install)
17 source=(https://sites.google.com/site/easybashgui/download/${_pkgname}_${pkgver}.tar.gz)
18 sha512sums=(0b823ca06ce7951b1a0ebda2e7db3106d92bd8b36d164282f4e25964202aa807a9a66a58787e3939e5afb54dd7577d7292f6843f1713b2da1e52d4cf77f84a42)
21 mv "$srcdir/${_pkgname}_${pkgver}" "$srcdir/${pkgname}_${pkgver}"
22 cd "$srcdir/${pkgname}_${pkgver}"
24 sed -i 's_/usr/local/bin_/usr/share/${pkgname}_' easybashgui_1.2.8
25 sed -i 's_/usr/local/bin_/usr/bin_' easybashgui_test.sh
26 sed -i 's_/usr/local/bin_/usr/bin_' easydialog.sh
28 install -D -m655 EasyBashGUI-readme ${pkgdir}/usr/share/${pkgname}/EasyBashGUI-readme
29 install -D -m655 Attenzione.xpm ${pkgdir}/usr/share/${pkgname}/icons/Attenzione.xpm
30 install -D -m655 Ok.xpm ${pkgdir}/usr/share/${pkgname}/icons/Ok.xpm
31 install -D -m755 easybashgui_${pkgver} ${pkgdir}/usr/share/${pkgname}/easybashgui_${pkgver}
32 install -D -m755 easybashgui_test.sh ${pkgdir}/usr/share/${pkgname}/easybashgui_test.sh
33 install -D -m755 easydialog.sh ${pkgdir}/usr/bin/easydialog.sh
35 ln -s ${pkgdir}/usr/share/${pkgname}/easybashgui_${pkgver} ${pkgdir}/usr/bin/easybashgui