summaryrefslogtreecommitdiff
path: root/community/openmotif/PKGBUILD
blob: 1df04fc06be788269654b2525129d1760e073e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $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.4
pkgrel=1
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"
  [ -x configure ] || ./autogen.sh --prefix=/usr
  [ -f Makefile ] || ./configure --prefix=/usr
  make -j1
  make DESTDIR=$pkgdir install
}