summaryrefslogtreecommitdiff
path: root/extra/lesstif/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lesstif/PKGBUILD')
-rw-r--r--extra/lesstif/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/extra/lesstif/PKGBUILD b/extra/lesstif/PKGBUILD
index ceda6b8a8..26bd0627a 100644
--- a/extra/lesstif/PKGBUILD
+++ b/extra/lesstif/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 195188 2013-09-27 04:29:31Z eric $
-# Maintainer:
+# $Id: PKGBUILD 197577 2013-10-27 02:25:22Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=lesstif
pkgver=0.95.2
-pkgrel=5
+pkgrel=6
pkgdesc="LGPL'd re-implementation of Motif"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/lesstif/"
license=('LGPL' 'MIT')
depends=('freetype2' 'libxt' 'libxp')
-[ "$CARCH" = "mips64el" ] && options=('!libtool')
-[ "$CARCH" = "mips64el" ] || options=('!libtool' '!buildflags')
+[ "$CARCH" = "mips64el" ] && options=('!makeflags')
+[ "$CARCH" = "mips64el" ] || options=('!makeflags' '!buildflags')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'LICENSE'
'040_fedora_XxxxProperty-64bit.diff')
@@ -19,14 +19,14 @@ md5sums=('754187dbac09fcf5d18296437e72a32f'
'30e2c0babc84696af089d55cb9cb2908')
prepare() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
# https://bugs.archlinux.org/task/17712
patch -p1 -i "${srcdir}"/040_fedora_XxxxProperty-64bit.diff
}
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--enable-production \
@@ -34,8 +34,7 @@ build() {
--enable-editres \
--with-xdnd \
--enable-build-21 \
- --disable-debug \
- --enable-static
+ --disable-debug
# fix linkage against already installed version
perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool
@@ -51,7 +50,7 @@ build() {
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
make -C lib/Mrm-2.1 DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" appdir=/usr/share/X11/app-defaults rootdir=/usr/share/doc/LessTif install