summaryrefslogtreecommitdiff
path: root/community/openmotif/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/openmotif/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/openmotif/PKGBUILD')
-rw-r--r--community/openmotif/PKGBUILD28
1 files changed, 6 insertions, 22 deletions
diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD
index de442f87d..26f37cc92 100644
--- a/community/openmotif/PKGBUILD
+++ b/community/openmotif/PKGBUILD
@@ -1,11 +1,10 @@
-# $Id: PKGBUILD 59163 2011-11-21 12:54:58Z spupykin $
+# $Id: PKGBUILD 63686 2012-02-05 12:06:47Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
-
pkgname=openmotif
pkgver=2.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Open Motif"
arch=('i686' 'x86_64')
url="http://www.motifzone.org/"
@@ -18,25 +17,12 @@ source=(http://www.motifzone.org/files/public_downloads/openmotif/2.3/$pkgver/op
md5sums=('fd27cd3369d6c7d5ef79eccba524f7be')
build() {
-_automakever=`pacman -Q automake | cut -f 2 -d \ | cut -f 1 -d -`
+ _automakever=1.11
cd $srcdir/openmotif-$pkgver
- [ $NOEXTRACT -eq 1 ] || patch -p0 Makefile.in <<EOF
---- Makefile.in.org 2007-06-11 09:32:01.000000000 +0400
-+++ Makefile.in 2007-06-19 19:13:04.000000000 +0400
-@@ -249,8 +249,7 @@
- include \\
- tools \\
- clients \\
-- doc \\
-- demos
-+ doc
-
- AUTOMAKE_OPTIONS = 1.4
- all: all-recursive
-EOF
-
+ sed -i 's|.*demos.*||g' Makefile.in Makefile.am
+ sed -i 's|doc \\|doc|g' Makefile.in Makefile.am
sed -i 's#if (!png_check_sig(sig, 8))#if (png_sig_cmp(sig, 0, 8))#' lib/Xm/Png.c
ln -s -f /usr/share/automake-${_automakever}/compile compile
@@ -48,10 +34,8 @@ EOF
ln -s -f /usr/share/libtool/config/ltmain.sh ltmain.sh
touch NEWS AUTHORS
- [ $NOEXTRACT -eq 1 ] || autoreconf -i;
-
+ [ $NOEXTRACT -eq 1 ] || autoreconf -i
[ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
-
[ $NOEXTRACT -eq 1 ] || ./configure --with-x --prefix=/usr
make -j1