diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/openmotif/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/openmotif/PKGBUILD')
-rw-r--r-- | community/openmotif/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD new file mode 100644 index 000000000..7c2623685 --- /dev/null +++ b/community/openmotif/PKGBUILD @@ -0,0 +1,34 @@ +# $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=2 +pkgdesc="Open Motif" +arch=('i686' 'x86_64') +url="http://www.motifzone.org/" +license=('GPL') +depends=(libxext libxp libxft libxt libxmu libpng libjpeg) +makedepends=(xbitmaps xproto printproto xextproto automake) +conflicts=(lesstif) +options=('!libtool') +source=("http://downloads.sourceforge.net/project/motif/Motif%20$pkgver%20Source%20Code/motif-$pkgver-src.tgz") +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 +} |