mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
823 B
Bash
29 lines
823 B
Bash
|
# $Id: PKGBUILD 20598 2008-12-05 22:33:31Z juergen $
|
||
|
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
|
||
|
pkgname=xdialog
|
||
|
pkgver=2.3.1
|
||
|
pkgrel=2
|
||
|
pkgdesc="A drop-in replacement for the 'dialog' or 'cdialog' programs"
|
||
|
arch=(i686 x86_64)
|
||
|
depends=('gtk2')
|
||
|
license=('GPL')
|
||
|
source=(http://xdialog.free.fr/Xdialog-2.3.1.tar.bz2)
|
||
|
md5sums=('0671f8353717513bf1f0ebc80e9710f6')
|
||
|
url="http://xdialog.dyns.net/"
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/Xdialog-$pkgver
|
||
|
./configure --prefix=/usr --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 || return 1
|
||
|
make prefix=$startdir/pkg/usr install
|
||
|
}
|
||
|
# vim: ts=2 sw=2 et ft=sh
|