diff options
Diffstat (limited to 'community/xdialog/PKGBUILD')
-rw-r--r-- | community/xdialog/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/xdialog/PKGBUILD b/community/xdialog/PKGBUILD new file mode 100644 index 000000000..750a99ff1 --- /dev/null +++ b/community/xdialog/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 38975 2011-02-04 14:16:55Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=xdialog +pkgver=2.3.1 +pkgrel=5 +pkgdesc="A drop-in replacement for the 'dialog' or 'cdialog' programs" +url="http://xdialog.dyns.net/" +arch=('i686' 'x86_64') +depends=('gtk2') +license=('GPL') +source=("http://xdialog.free.fr/Xdialog-${pkgver}.tar.bz2" + "xdialog-2.3.1-gtk2.patch") +md5sums=('0671f8353717513bf1f0ebc80e9710f6' + '1785edbb50316ba07c3ab68f061bf766') + +build() { + cd $srcdir/Xdialog-$pkgver + + patch -p1 <../xdialog-$pkgver-gtk2.patch + + ./configure --prefix=/usr \ + --mandir=${pkgdir}/usr/share/man --with-gtk2 + + # Fix bugs in automake - see Xdialog.spec + /bin/sed -i -e "s:RANLIB = @RANLIB@:RANLIB = /usr/bin/ranlib:" lib/Makefile + /bin/sed -i -e "s;XGETTEXT = :;XGETTEXT = /usr/bin/xgettext;" po/Makefile + + make +} + +package() { + cd ${srcdir}/Xdialog-${pkgver} + make prefix=${pkgdir}/usr install +} |