blob: 750a99ff19abd48dfe8d5b57f35553bcde5bf07e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}
|