You are not logged in.

#1 2004-09-21 06:22:36

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

[NEW] Xplore:A Powerful Explorer-Like Motif File Manage

Enjoy big_smile

# Contributor: Eric Belanger <belanger@astro.umontreal.ca>

pkgname=xplore
pkgver=1.2a
pkgrel=1
pkgdesc="A Powerful Explorer-Like Motif File Manager"
url="http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/"
license="GPL"
depends=('lesstif' 'bash')
makedepends=(sed)
source=(http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/$pkgname-$pkgver.tar.bz2)
md5sums=(129e90bec30a6197bc315eb75e130b1f)

build() {
  cd $startdir/src/$pkgname-$pkgver
  xmkmf -a
# Patching code:
  SCRIPT=$(echo "s=extern char *malloc()=/*extern char *malloc()*/=")
  sed -e "$SCRIPT" < regexp/regexp.c > regexp/regexp.c.tmp
  mv regexp/regexp.c.tmp regexp/regexp.c
  SCRIPT=$(echo "s/err:/err:continue;/")
  sed -e "$SCRIPT" < ftype.c > ftype.c.tmp
  mv ftype.c.tmp ftype.c

# Configuring Makefile:
  SCRIPT=$(echo "s=SHLIBDIR = /usr/X11R6/lib=SHLIBDIR = ${startdir}/pkg/usr/X11R6/lib=;s=LIBDIR = /usr/X11R6/lib/X11=LIBDIR = ${startdir}/pkg/usr/X11R6/lib/X11=;s=XTOP = $(TOP)=XTOP = /usr/X11R6=;s=ETCX11DIR = /etc/X11=ETCX11DIR = ${startdir}/pkg/etc/X11=;s=BINDIR = /usr/X11R6/bin=BINDIR = ${startdir}/pkg/usr/X11R6/bin=;s=$${RELPATH}=/usr/X11R6/lib/X11=")
  sed -e "$SCRIPT" < Makefile > Makefile.tmp
  mv Makefile.tmp Makefile

  make || return 1

# Configuring scripts/Makefile:
  SCRIPT=$(echo "s=LIBDIR = /usr/X11R6/lib/X11=LIBDIR = ${startdir}/pkg/usr/X11R6/lib/X11=")
  sed -e "$SCRIPT" < scripts/Makefile > scripts/Makefile.tmp
  mv scripts/Makefile.tmp scripts/Makefile

  make prefix=$startdir/pkg/usr install
}

Offline

#2 2004-09-24 17:38:25

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [NEW] Xplore:A Powerful Explorer-Like Motif File Manage

I just found out that there is a bug which popped up while I upgraded xorg.
The above PKGBUILD creates a /usr/X11R6/lib/X11/app-defaults directory while it is suppose to be a symlink to /etc/X11/app-default.  I will correct that over the week-end and will post the modified PKGBUILD.

Offline

#3 2004-09-25 03:44:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [NEW] Xplore:A Powerful Explorer-Like Motif File Manage

I haven't been able to reproduce the bug.  Everything looks OK.  :? I guess that the above PKGBUILD is correct.  If you have problems, let me know.

Offline

Board footer

Powered by FluxBB