[arch-commits] Commit in lesstif/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat Oct 26 22:53:53 UTC 2013


    Date: Sunday, October 27, 2013 @ 00:53:53
  Author: eric
Revision: 197560

upgpkg: lesstif 0.95.2-6

Rebuild without static libraries

Modified:
  lesstif/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-26 22:44:00 UTC (rev 197559)
+++ PKGBUILD	2013-10-26 22:53:53 UTC (rev 197560)
@@ -3,13 +3,13 @@
 
 pkgname=lesstif
 pkgver=0.95.2
-pkgrel=5
+pkgrel=6
 pkgdesc="LGPL'd re-implementation of Motif"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/lesstif/"
 license=('LGPL' 'MIT')
 depends=('freetype2' 'libxt' 'libxp')
-options=('!libtool' '!buildflags')
+options=('!buildflags')
 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
         'LICENSE'
         '040_fedora_XxxxProperty-64bit.diff')
@@ -18,7 +18,7 @@
          '30e2c0babc84696af089d55cb9cb2908')
 
 prepare() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
   # https://bugs.archlinux.org/task/17712
   patch -p1 -i "${srcdir}"/040_fedora_XxxxProperty-64bit.diff
@@ -25,7 +25,7 @@
 }
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
   ./configure --prefix=/usr \
     --enable-production \
@@ -33,8 +33,7 @@
     --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
@@ -50,7 +49,7 @@
 }
 
 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




More information about the arch-commits mailing list