diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:07:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-24 11:07:35 -0300 |
commit | 8d32e471d53634b308adf93007922a6ccbd2b830 (patch) | |
tree | 606fdcd5508936ffdfc7cf510a16b7324c2792e2 /community/openmotif/PKGBUILD | |
parent | 4c9d76f582ae64854e30113e7f7dc621af3db820 (diff) | |
parent | 1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/augeas/PKGBUILD
community/chmsee/PKGBUILD
community/cupsddk/PKGBUILD
community/optipng/PKGBUILD
community/pcb/PKGBUILD
community/taglib-rcc/PKGBUILD
community/wmctrl/PKGBUILD
extra/c-ares/PKGBUILD
multilib/lib32-freetype2/PKGBUILD
Diffstat (limited to 'community/openmotif/PKGBUILD')
-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 3cb50e07a..0b5371b85 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' 'mips64el') 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) } |