summaryrefslogtreecommitdiff
path: root/community/openmotif
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /community/openmotif
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'community/openmotif')
-rw-r--r--community/openmotif/PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD
index 1df04fc06..7c2623685 100644
--- a/community/openmotif/PKGBUILD
+++ b/community/openmotif/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78895 2012-10-26 13:57:30Z spupykin $
+# $Id: PKGBUILD 90072 2013-05-06 19:38:52Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
pkgname=openmotif
pkgver=2.3.4
-pkgrel=1
+pkgrel=2
pkgdesc="Open Motif"
arch=('i686' 'x86_64')
url="http://www.motifzone.org/"
@@ -19,8 +19,16 @@ md5sums=('612bb8127d0d31da6e5474edf8a5c247')
build() {
cd $srcdir/motif-$pkgver
export LDFLAGS="-lX11"
+ sed -i \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' \
+ -e 's|AM_PROG_CC_STDC|AC_PROG_CC|g' \
+ configure.ac
[ -x configure ] || ./autogen.sh --prefix=/usr
[ -f Makefile ] || ./configure --prefix=/usr
make -j1
+}
+
+package() {
+ cd $srcdir/motif-$pkgver
make DESTDIR=$pkgdir install
}