diff options
author | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-23 23:15:26 +0000 |
commit | 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch) | |
tree | 070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/openmotif | |
parent | 851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff) |
Wed Nov 23 23:15:26 UTC 2011
Diffstat (limited to 'community/openmotif')
-rw-r--r-- | community/openmotif/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD index 7f6be420e..de442f87d 100644 --- a/community/openmotif/PKGBUILD +++ b/community/openmotif/PKGBUILD @@ -1,8 +1,7 @@ -# $Id: PKGBUILD 16932 2010-05-13 22:21:25Z spupykin $ +# $Id: PKGBUILD 59163 2011-11-21 12:54:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Enrico Morelli <morelli@cerm.unifi.it> -_automakever=`pacman -Q automake | cut -f 2 -d \ | cut -f 1 -d -` pkgname=openmotif pkgver=2.3.3 @@ -11,7 +10,7 @@ pkgdesc="Open Motif" arch=('i686' 'x86_64') url="http://www.motifzone.org/" license=('GPL') -depends=(libxext libxp libxft libxt) +depends=(libxext libxp libxft libxt libxmu libpng libjpeg) makedepends=(xbitmaps xproto printproto xextproto automake) conflicts=(lesstif) options=('!libtool') @@ -19,7 +18,9 @@ source=(http://www.motifzone.org/files/public_downloads/openmotif/2.3/$pkgver/op md5sums=('fd27cd3369d6c7d5ef79eccba524f7be') build() { - cd $startdir/src/openmotif-$pkgver +_automakever=`pacman -Q automake | cut -f 2 -d \ | cut -f 1 -d -` + + cd $srcdir/openmotif-$pkgver [ $NOEXTRACT -eq 1 ] || patch -p0 Makefile.in <<EOF --- Makefile.in.org 2007-06-11 09:32:01.000000000 +0400 @@ -31,7 +32,7 @@ build() { - doc \\ - demos + doc - + AUTOMAKE_OPTIONS = 1.4 all: all-recursive EOF @@ -45,15 +46,16 @@ EOF 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 + [ $NOEXTRACT -eq 1 ] || autoreconf -i; [ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" [ $NOEXTRACT -eq 1 ] || ./configure --with-x --prefix=/usr - make -j1 || return 1 + make -j1 - make DESTDIR=$startdir/pkg install || return 1 + make DESTDIR=$pkgdir install # cleanup - (cd $startdir/pkg/usr/share/man/man3/ && mv Shell.3 OpenMotif-Shell.3) + (cd $pkgdir/usr/share/man/man3/ && mv Shell.3 OpenMotif-Shell.3) } |