diff options
author | root <root@rshg054.dnsready.net> | 2012-10-27 01:51:21 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-27 01:51:21 -0700 |
commit | 869e64b12767be3ef5b1e3628f337a9e116e2bbb (patch) | |
tree | 146e63e85bbe4e336ae423d989d06b321fc16cec /community/openmotif | |
parent | ff20b83d60041f745a579e10770706b0b49d5617 (diff) |
Sat Oct 27 01:51:01 PDT 2012
Diffstat (limited to 'community/openmotif')
-rw-r--r-- | community/openmotif/PKGBUILD | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD index d9c20267f..1df04fc06 100644 --- a/community/openmotif/PKGBUILD +++ b/community/openmotif/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75562 2012-08-27 08:58:52Z spupykin $ +# $Id: PKGBUILD 78895 2012-10-26 13:57:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Enrico Morelli <morelli@cerm.unifi.it> pkgname=openmotif -pkgver=2.3.3 -pkgrel=2 +pkgver=2.3.4 +pkgrel=1 pkgdesc="Open Motif" arch=('i686' 'x86_64') url="http://www.motifzone.org/" @@ -13,34 +13,14 @@ depends=(libxext libxp libxft libxt libxmu libpng libjpeg) makedepends=(xbitmaps xproto printproto xextproto automake) conflicts=(lesstif) options=('!libtool') -#source=(http://www.motifzone.org/files/public_downloads/openmotif/2.3/$pkgver/openmotif-$pkgver.tar.gz) -source=(ftp://ftp.ics.com/openmotif/2.3/$pkgver/openmotif-$pkgver.tar.gz) -md5sums=('fd27cd3369d6c7d5ef79eccba524f7be') +source=("http://downloads.sourceforge.net/project/motif/Motif%20$pkgver%20Source%20Code/motif-$pkgver-src.tgz") +md5sums=('612bb8127d0d31da6e5474edf8a5c247') build() { - _automakever=1.11 - - cd $srcdir/openmotif-$pkgver - - 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 - ln -s -f /usr/share/libtool/config/config.guess config.guess - ln -s -f /usr/share/libtool/config/config.sub config.sub - ln -s -f /usr/share/automake-${_automakever}/depcomp depcomp - ln -s -f /usr/share/automake-${_automakever}/install-sh install-sh - ln -s -f /usr/share/automake-${_automakever}/missing missing - ln -s -f /usr/share/libtool/config/ltmain.sh ltmain.sh - touch NEWS AUTHORS - - [ $NOEXTRACT -eq 1 ] || autoreconf -i - [ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" - [ $NOEXTRACT -eq 1 ] || ./configure --with-x --prefix=/usr + cd $srcdir/motif-$pkgver + export LDFLAGS="-lX11" + [ -x configure ] || ./autogen.sh --prefix=/usr + [ -f Makefile ] || ./configure --prefix=/usr make -j1 - make DESTDIR=$pkgdir install - # cleanup - (cd $pkgdir/usr/share/man/man3/ && mv Shell.3 OpenMotif-Shell.3) } |