Date: Saturday, September 10, 2011 @ 06:03:09
  Author: andrea
Revision: 137646

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  lesstif/repos/extra-i686/040_fedora_XxxxProperty-64bit.diff
    (from rev 137645, lesstif/trunk/040_fedora_XxxxProperty-64bit.diff)
  lesstif/repos/extra-i686/LICENSE
    (from rev 137645, lesstif/trunk/LICENSE)
  lesstif/repos/extra-i686/PKGBUILD
    (from rev 137645, lesstif/trunk/PKGBUILD)
  lesstif/repos/extra-x86_64/040_fedora_XxxxProperty-64bit.diff
    (from rev 137645, lesstif/trunk/040_fedora_XxxxProperty-64bit.diff)
  lesstif/repos/extra-x86_64/LICENSE
    (from rev 137645, lesstif/trunk/LICENSE)
  lesstif/repos/extra-x86_64/PKGBUILD
    (from rev 137645, lesstif/trunk/PKGBUILD)
Deleted:
  lesstif/repos/extra-i686/040_fedora_XxxxProperty-64bit.diff
  lesstif/repos/extra-i686/ChangeLog
  lesstif/repos/extra-i686/LICENSE
  lesstif/repos/extra-i686/PKGBUILD
  lesstif/repos/extra-x86_64/040_fedora_XxxxProperty-64bit.diff
  lesstif/repos/extra-x86_64/ChangeLog
  lesstif/repos/extra-x86_64/LICENSE
  lesstif/repos/extra-x86_64/PKGBUILD

-------------------------------------------------+
 extra-i686/040_fedora_XxxxProperty-64bit.diff   |   40 ++++----
 extra-i686/ChangeLog                            |   19 ----
 extra-i686/LICENSE                              |   52 +++++------
 extra-i686/PKGBUILD                             |   99 ++++++++++++----------
 extra-x86_64/040_fedora_XxxxProperty-64bit.diff |   40 ++++----
 extra-x86_64/ChangeLog                          |   19 ----
 extra-x86_64/LICENSE                            |   52 +++++------
 extra-x86_64/PKGBUILD                           |   99 ++++++++++++----------
 8 files changed, 206 insertions(+), 214 deletions(-)

Deleted: extra-i686/040_fedora_XxxxProperty-64bit.diff
===================================================================
--- extra-i686/040_fedora_XxxxProperty-64bit.diff       2011-09-10 10:02:03 UTC 
(rev 137645)
+++ extra-i686/040_fedora_XxxxProperty-64bit.diff       2011-09-10 10:03:09 UTC 
(rev 137646)
@@ -1,20 +0,0 @@
-Description: Copy/paste segfaults on i386
-Forwarded: yes
-Author: Hans de Goede <[email protected]>
-diff -up lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64 
lesstif-0.95.2/lib/Xm-2.1/CutPaste.c
---- lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64        2007-09-12 
22:05:58.000000000 +0200
-+++ lesstif-0.95.2/lib/Xm-2.1/CutPaste.c       2009-07-28 11:32:20.000000000 
+0200
-@@ -1028,9 +1028,11 @@ _XmClipboardReplaceItem(Display *display
-       /* XChangeProperty expects a buffer of longs when receiving 32 bits
-          data, MEUHH */
-       if (sizeof(long) != 4)
-+      {
-           convert_buf = XtMalloc(len * sizeof(long));
--        for (i = 0; i < len; i++)
--            convert_buf[i] = data[i];
-+          for (i = 0; i < len; i++)
-+                convert_buf[i] = data[i];
-+      }
-       break;
- 
-     case 16:

Copied: lesstif/repos/extra-i686/040_fedora_XxxxProperty-64bit.diff (from rev 
137645, lesstif/trunk/040_fedora_XxxxProperty-64bit.diff)
===================================================================
--- extra-i686/040_fedora_XxxxProperty-64bit.diff                               
(rev 0)
+++ extra-i686/040_fedora_XxxxProperty-64bit.diff       2011-09-10 10:03:09 UTC 
(rev 137646)
@@ -0,0 +1,20 @@
+Description: Copy/paste segfaults on i386
+Forwarded: yes
+Author: Hans de Goede <[email protected]>
+diff -up lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64 
lesstif-0.95.2/lib/Xm-2.1/CutPaste.c
+--- lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64        2007-09-12 
22:05:58.000000000 +0200
++++ lesstif-0.95.2/lib/Xm-2.1/CutPaste.c       2009-07-28 11:32:20.000000000 
+0200
+@@ -1028,9 +1028,11 @@ _XmClipboardReplaceItem(Display *display
+       /* XChangeProperty expects a buffer of longs when receiving 32 bits
+          data, MEUHH */
+       if (sizeof(long) != 4)
++      {
+           convert_buf = XtMalloc(len * sizeof(long));
+-        for (i = 0; i < len; i++)
+-            convert_buf[i] = data[i];
++          for (i = 0; i < len; i++)
++                convert_buf[i] = data[i];
++      }
+       break;
+ 
+     case 16:

Deleted: extra-i686/ChangeLog
===================================================================
--- extra-i686/ChangeLog        2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-i686/ChangeLog        2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,19 +0,0 @@
-2010-01-05  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.2-2
-       * Fixed segmentation fault when doing copy/paste on i686 (close 
FS#17712)
-
-2009-12-30  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.2-1
-       * Upstream update
-       * Added docs
-
-2008-12-08  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.0-3
-       * Added license
-       * Updated options syntax
-       * Added url
-       * FHS man pages
-       * Added ChangeLog

Deleted: extra-i686/LICENSE
===================================================================
--- extra-i686/LICENSE  2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-i686/LICENSE  2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,26 +0,0 @@
-/*****************************************************************************/
-/**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
-/**                          Salt Lake City, Utah                           **/
-/**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
-/**                        Cambridge, Massachusetts                         **/
-/**                                                                         **/
-/**                           All Rights Reserved                           **/
-/**                                                                         **/
-/**    Permission to use, copy, modify, and distribute this software and    **/
-/**    its documentation  for  any  purpose  and  without  fee is hereby    **/
-/**    granted, provided that the above copyright notice appear  in  all    **/
-/**    copies and that both  that  copyright  notice  and  this  permis-    **/
-/**    sion  notice appear in supporting  documentation,  and  that  the    **/
-/**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
-/**    in publicity pertaining to distribution of the  software  without    **/
-/**    specific, written prior permission.                                  **/
-/**                                                                         **/
-/**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
-/**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
-/**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
-/**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
-/**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
-/**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
-/**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
-/**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
-/*****************************************************************************/

Copied: lesstif/repos/extra-i686/LICENSE (from rev 137645, 
lesstif/trunk/LICENSE)
===================================================================
--- extra-i686/LICENSE                          (rev 0)
+++ extra-i686/LICENSE  2011-09-10 10:03:09 UTC (rev 137646)
@@ -0,0 +1,26 @@
+/*****************************************************************************/
+/**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
+/**                          Salt Lake City, Utah                           **/
+/**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
+/**                        Cambridge, Massachusetts                         **/
+/**                                                                         **/
+/**                           All Rights Reserved                           **/
+/**                                                                         **/
+/**    Permission to use, copy, modify, and distribute this software and    **/
+/**    its documentation  for  any  purpose  and  without  fee is hereby    **/
+/**    granted, provided that the above copyright notice appear  in  all    **/
+/**    copies and that both  that  copyright  notice  and  this  permis-    **/
+/**    sion  notice appear in supporting  documentation,  and  that  the    **/
+/**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
+/**    in publicity pertaining to distribution of the  software  without    **/
+/**    specific, written prior permission.                                  **/
+/**                                                                         **/
+/**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
+/**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
+/**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
+/**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
+/**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
+/**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
+/**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
+/**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
+/*****************************************************************************/

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-i686/PKGBUILD 2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <[email protected]>
-# Contributor: John Proctor <[email protected]>
-
-pkgname=lesstif
-pkgver=0.95.2
-pkgrel=2
-pkgdesc="LGPL'd re-implementation of Motif"
-arch=('i686' 'x86_64')
-url="http://www.lesstif.org/";
-license=('LGPL' 'MIT')
-depends=('freetype2' 'libxt' 'libxp')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
 \
-       LICENSE 040_fedora_XxxxProperty-64bit.diff)
-md5sums=('754187dbac09fcf5d18296437e72a32f' 'b1f320192a9154f72d83e9d3d5a25a2f'\
-         '30e2c0babc84696af089d55cb9cb2908')
-sha1sums=('b894e544d529a235a6a665d48ca94a465f44a4e5' 
'5d7f38555417cb617d7d5b7e41a93af8430dc638'\
-         '85412aba25058110db8da99da4a2c5ab44330467')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 < ../040_fedora_XxxxProperty-64bit.diff || return 1
-  ./configure --prefix=/usr --mandir=/usr/share/man --docdir=/usr/share/doc \
-    --enable-production --enable-nonstandard-conversions --enable-editres \
-    --with-xdnd --enable-build-21 --disable-debug --enable-static || return 1
-
-# fix linkage against already installed version
-  perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool || return 1
-
-  make || return 1
-
-# fix linkage against already installed version
-  for f in `find . -name \*.la -type f` ; do
-    perl -pi -e 's/^(relink_command=.*)/# $1/' $f || return 1
-  done
-
-  make -C lib/Mrm-2.1 || return 1
-  make -C lib/Mrm-2.1 DESTDIR="${pkgdir}" install || return 1
-  make appdir=/usr/share/X11/app-defaults rootdir=/usr/share/LessTif 
DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-}

Copied: lesstif/repos/extra-i686/PKGBUILD (from rev 137645, 
lesstif/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD                         (rev 0)
+++ extra-i686/PKGBUILD 2011-09-10 10:03:09 UTC (rev 137646)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer:
+# Contributor: Eric Belanger <[email protected]>
+# Contributor: John Proctor <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=lesstif
+pkgver=0.95.2
+pkgrel=3
+pkgdesc="LGPL'd re-implementation of Motif"
+arch=('i686' 'x86_64')
+url="http://www.lesstif.org/";
+license=('LGPL' 'MIT')
+depends=('freetype2' 'libxt' 'libxp')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2";
+        'LICENSE' '040_fedora_XxxxProperty-64bit.diff')
+md5sums=('754187dbac09fcf5d18296437e72a32f'
+         'b1f320192a9154f72d83e9d3d5a25a2f'
+         '30e2c0babc84696af089d55cb9cb2908')
+
+build() {
+       cd "${srcdir}"/${pkgname}-${pkgver}
+       patch -p1 -i "${srcdir}"/040_fedora_XxxxProperty-64bit.diff
+
+       ./configure --prefix=/usr \
+      --mandir=/usr/share/man \
+         --docdir=/usr/share/doc \
+      --enable-production \
+         --enable-nonstandard-conversions \
+      --enable-editres \
+      --with-xdnd \
+      --enable-build-21 \
+      --disable-debug \
+         --enable-static
+
+       # fix linkage against already installed version
+       perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool
+
+       make
+
+       # fix linkage against already installed version
+       for f in `find . -name \*.la -type f` ; do
+           perl -pi -e 's/^(relink_command=.*)/# $1/' $f
+       done
+
+       make -C lib/Mrm-2.1
+}
+
+package() {
+       cd "${srcdir}"/${pkgname}-${pkgver}
+
+       make -C lib/Mrm-2.1 DESTDIR="${pkgdir}" install
+       make appdir=/usr/share/X11/app-defaults rootdir=/usr/share/LessTif \
+           DESTDIR=${pkgdir} install
+       install -Dm644 "${srcdir}"/LICENSE 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: extra-x86_64/040_fedora_XxxxProperty-64bit.diff
===================================================================
--- extra-x86_64/040_fedora_XxxxProperty-64bit.diff     2011-09-10 10:02:03 UTC 
(rev 137645)
+++ extra-x86_64/040_fedora_XxxxProperty-64bit.diff     2011-09-10 10:03:09 UTC 
(rev 137646)
@@ -1,20 +0,0 @@
-Description: Copy/paste segfaults on i386
-Forwarded: yes
-Author: Hans de Goede <[email protected]>
-diff -up lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64 
lesstif-0.95.2/lib/Xm-2.1/CutPaste.c
---- lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64        2007-09-12 
22:05:58.000000000 +0200
-+++ lesstif-0.95.2/lib/Xm-2.1/CutPaste.c       2009-07-28 11:32:20.000000000 
+0200
-@@ -1028,9 +1028,11 @@ _XmClipboardReplaceItem(Display *display
-       /* XChangeProperty expects a buffer of longs when receiving 32 bits
-          data, MEUHH */
-       if (sizeof(long) != 4)
-+      {
-           convert_buf = XtMalloc(len * sizeof(long));
--        for (i = 0; i < len; i++)
--            convert_buf[i] = data[i];
-+          for (i = 0; i < len; i++)
-+                convert_buf[i] = data[i];
-+      }
-       break;
- 
-     case 16:

Copied: lesstif/repos/extra-x86_64/040_fedora_XxxxProperty-64bit.diff (from rev 
137645, lesstif/trunk/040_fedora_XxxxProperty-64bit.diff)
===================================================================
--- extra-x86_64/040_fedora_XxxxProperty-64bit.diff                             
(rev 0)
+++ extra-x86_64/040_fedora_XxxxProperty-64bit.diff     2011-09-10 10:03:09 UTC 
(rev 137646)
@@ -0,0 +1,20 @@
+Description: Copy/paste segfaults on i386
+Forwarded: yes
+Author: Hans de Goede <[email protected]>
+diff -up lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64 
lesstif-0.95.2/lib/Xm-2.1/CutPaste.c
+--- lesstif-0.95.2/lib/Xm-2.1/CutPaste.c.long64        2007-09-12 
22:05:58.000000000 +0200
++++ lesstif-0.95.2/lib/Xm-2.1/CutPaste.c       2009-07-28 11:32:20.000000000 
+0200
+@@ -1028,9 +1028,11 @@ _XmClipboardReplaceItem(Display *display
+       /* XChangeProperty expects a buffer of longs when receiving 32 bits
+          data, MEUHH */
+       if (sizeof(long) != 4)
++      {
+           convert_buf = XtMalloc(len * sizeof(long));
+-        for (i = 0; i < len; i++)
+-            convert_buf[i] = data[i];
++          for (i = 0; i < len; i++)
++                convert_buf[i] = data[i];
++      }
+       break;
+ 
+     case 16:

Deleted: extra-x86_64/ChangeLog
===================================================================
--- extra-x86_64/ChangeLog      2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-x86_64/ChangeLog      2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,19 +0,0 @@
-2010-01-05  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.2-2
-       * Fixed segmentation fault when doing copy/paste on i686 (close 
FS#17712)
-
-2009-12-30  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.2-1
-       * Upstream update
-       * Added docs
-
-2008-12-08  Eric Belanger  <[email protected]>
-
-       * lesstif 0.95.0-3
-       * Added license
-       * Updated options syntax
-       * Added url
-       * FHS man pages
-       * Added ChangeLog

Deleted: extra-x86_64/LICENSE
===================================================================
--- extra-x86_64/LICENSE        2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-x86_64/LICENSE        2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,26 +0,0 @@
-/*****************************************************************************/
-/**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
-/**                          Salt Lake City, Utah                           **/
-/**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
-/**                        Cambridge, Massachusetts                         **/
-/**                                                                         **/
-/**                           All Rights Reserved                           **/
-/**                                                                         **/
-/**    Permission to use, copy, modify, and distribute this software and    **/
-/**    its documentation  for  any  purpose  and  without  fee is hereby    **/
-/**    granted, provided that the above copyright notice appear  in  all    **/
-/**    copies and that both  that  copyright  notice  and  this  permis-    **/
-/**    sion  notice appear in supporting  documentation,  and  that  the    **/
-/**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
-/**    in publicity pertaining to distribution of the  software  without    **/
-/**    specific, written prior permission.                                  **/
-/**                                                                         **/
-/**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
-/**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
-/**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
-/**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
-/**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
-/**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
-/**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
-/**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
-/*****************************************************************************/

Copied: lesstif/repos/extra-x86_64/LICENSE (from rev 137645, 
lesstif/trunk/LICENSE)
===================================================================
--- extra-x86_64/LICENSE                                (rev 0)
+++ extra-x86_64/LICENSE        2011-09-10 10:03:09 UTC (rev 137646)
@@ -0,0 +1,26 @@
+/*****************************************************************************/
+/**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
+/**                          Salt Lake City, Utah                           **/
+/**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
+/**                        Cambridge, Massachusetts                         **/
+/**                                                                         **/
+/**                           All Rights Reserved                           **/
+/**                                                                         **/
+/**    Permission to use, copy, modify, and distribute this software and    **/
+/**    its documentation  for  any  purpose  and  without  fee is hereby    **/
+/**    granted, provided that the above copyright notice appear  in  all    **/
+/**    copies and that both  that  copyright  notice  and  this  permis-    **/
+/**    sion  notice appear in supporting  documentation,  and  that  the    **/
+/**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
+/**    in publicity pertaining to distribution of the  software  without    **/
+/**    specific, written prior permission.                                  **/
+/**                                                                         **/
+/**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
+/**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
+/**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
+/**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
+/**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
+/**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
+/**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
+/**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
+/*****************************************************************************/

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD       2011-09-10 10:02:03 UTC (rev 137645)
+++ extra-x86_64/PKGBUILD       2011-09-10 10:03:09 UTC (rev 137646)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <[email protected]>
-# Contributor: John Proctor <[email protected]>
-
-pkgname=lesstif
-pkgver=0.95.2
-pkgrel=2
-pkgdesc="LGPL'd re-implementation of Motif"
-arch=('i686' 'x86_64')
-url="http://www.lesstif.org/";
-license=('LGPL' 'MIT')
-depends=('freetype2' 'libxt' 'libxp')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
 \
-       LICENSE 040_fedora_XxxxProperty-64bit.diff)
-md5sums=('754187dbac09fcf5d18296437e72a32f' 'b1f320192a9154f72d83e9d3d5a25a2f'\
-         '30e2c0babc84696af089d55cb9cb2908')
-sha1sums=('b894e544d529a235a6a665d48ca94a465f44a4e5' 
'5d7f38555417cb617d7d5b7e41a93af8430dc638'\
-         '85412aba25058110db8da99da4a2c5ab44330467')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 < ../040_fedora_XxxxProperty-64bit.diff || return 1
-  ./configure --prefix=/usr --mandir=/usr/share/man --docdir=/usr/share/doc \
-    --enable-production --enable-nonstandard-conversions --enable-editres \
-    --with-xdnd --enable-build-21 --disable-debug --enable-static || return 1
-
-# fix linkage against already installed version
-  perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool || return 1
-
-  make || return 1
-
-# fix linkage against already installed version
-  for f in `find . -name \*.la -type f` ; do
-    perl -pi -e 's/^(relink_command=.*)/# $1/' $f || return 1
-  done
-
-  make -C lib/Mrm-2.1 || return 1
-  make -C lib/Mrm-2.1 DESTDIR="${pkgdir}" install || return 1
-  make appdir=/usr/share/X11/app-defaults rootdir=/usr/share/LessTif 
DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 ../LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-}

Copied: lesstif/repos/extra-x86_64/PKGBUILD (from rev 137645, 
lesstif/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2011-09-10 10:03:09 UTC (rev 137646)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer:
+# Contributor: Eric Belanger <[email protected]>
+# Contributor: John Proctor <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=lesstif
+pkgver=0.95.2
+pkgrel=3
+pkgdesc="LGPL'd re-implementation of Motif"
+arch=('i686' 'x86_64')
+url="http://www.lesstif.org/";
+license=('LGPL' 'MIT')
+depends=('freetype2' 'libxt' 'libxp')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2";
+        'LICENSE' '040_fedora_XxxxProperty-64bit.diff')
+md5sums=('754187dbac09fcf5d18296437e72a32f'
+         'b1f320192a9154f72d83e9d3d5a25a2f'
+         '30e2c0babc84696af089d55cb9cb2908')
+
+build() {
+       cd "${srcdir}"/${pkgname}-${pkgver}
+       patch -p1 -i "${srcdir}"/040_fedora_XxxxProperty-64bit.diff
+
+       ./configure --prefix=/usr \
+      --mandir=/usr/share/man \
+         --docdir=/usr/share/doc \
+      --enable-production \
+         --enable-nonstandard-conversions \
+      --enable-editres \
+      --with-xdnd \
+      --enable-build-21 \
+      --disable-debug \
+         --enable-static
+
+       # fix linkage against already installed version
+       perl -pi -e 's/^(hardcode_into_libs)=.*/$1=no/' libtool
+
+       make
+
+       # fix linkage against already installed version
+       for f in `find . -name \*.la -type f` ; do
+           perl -pi -e 's/^(relink_command=.*)/# $1/' $f
+       done
+
+       make -C lib/Mrm-2.1
+}
+
+package() {
+       cd "${srcdir}"/${pkgname}-${pkgver}
+
+       make -C lib/Mrm-2.1 DESTDIR="${pkgdir}" install
+       make appdir=/usr/share/X11/app-defaults rootdir=/usr/share/LessTif \
+           DESTDIR=${pkgdir} install
+       install -Dm644 "${srcdir}"/LICENSE 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Reply via email to