Date: Sunday, September 27, 2020 @ 20:45:32 Author: arojas Revision: 712763
archrelease: copy trunk to community-x86_64 Added: openmotif/repos/community-x86_64/PKGBUILD (from rev 712762, openmotif/trunk/PKGBUILD) openmotif/repos/community-x86_64/no-demos.patch (from rev 712762, openmotif/trunk/no-demos.patch) Deleted: openmotif/repos/community-x86_64/PKGBUILD ----------------+ PKGBUILD | 63 +++++++++++++++++++++++++++++++------------------------ no-demos.patch | 13 +++++++++++ 2 files changed, 49 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-27 20:45:20 UTC (rev 712762) +++ PKGBUILD 2020-09-27 20:45:32 UTC (rev 712763) @@ -1,27 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Enrico Morelli <more...@cerm.unifi.it> - -pkgname=openmotif -pkgver=2.3.8 -pkgrel=2 -pkgdesc="Open Motif" -arch=('x86_64') -url="https://motif.ics.com/" -license=('LGPL') -depends=(libxext libxp libxft libxt libxmu libpng libjpeg) -makedepends=(xbitmaps xorgproto) -conflicts=(lesstif) -source=("https://downloads.sourceforge.net/project/motif/Motif%20$pkgver%20Source%20Code/motif-$pkgver.tar.gz") -sha256sums=('859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7') - -build() { - cd motif-$pkgver - export LDFLAGS="-lX11" - ./configure --prefix=/usr - make -} - -package() { - cd motif-$pkgver - make DESTDIR="$pkgdir" install -} Copied: openmotif/repos/community-x86_64/PKGBUILD (from rev 712762, openmotif/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-27 20:45:32 UTC (rev 712763) @@ -0,0 +1,36 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Enrico Morelli <more...@cerm.unifi.it> + +pkgname=openmotif +pkgver=2.3.8 +pkgrel=3 +pkgdesc="Open Motif" +arch=('x86_64') +url="https://motif.ics.com/" +license=('LGPL') +depends=(libxp libxft libxmu libpng libjpeg) +makedepends=(xbitmaps xorgproto) +conflicts=(lesstif) +source=("https://downloads.sourceforge.net/project/motif/Motif%20$pkgver%20Source%20Code/motif-$pkgver.tar.gz" + no-demos.patch) +sha256sums=('859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7' + 'ff55064ab36dba411599c9abef122b26d694ee11fd1d371378be08497448668c') + +prepare() { + cd motif-$pkgver + patch -p1 -i ../no-demos.patch # Don't build demos + touch NEWS AUTHORS + autoreconf -if +} + +build() { + cd motif-$pkgver + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd motif-$pkgver + make DESTDIR="$pkgdir" install +} Copied: openmotif/repos/community-x86_64/no-demos.patch (from rev 712762, openmotif/trunk/no-demos.patch) =================================================================== --- no-demos.patch (rev 0) +++ no-demos.patch 2020-09-27 20:45:32 UTC (rev 712763) @@ -0,0 +1,13 @@ +diff -up openmotif-2.3.3/Makefile.am.no_demos openmotif-2.3.3/Makefile.am +--- openmotif-2.3.3/Makefile.am.no_demos 2008-09-19 16:38:05.000000000 +0200 ++++ openmotif-2.3.3/Makefile.am 2010-03-23 13:53:13.000000000 +0100 +@@ -29,7 +29,7 @@ SUBDIRS = bindings bitmaps \ + include \ + tools \ + clients \ +- doc \ +- demos ++ doc ++ + AUTOMAKE_OPTIONS = 1.4 + ACLOCAL_AMFLAGS = -I .