You are not logged in.

#1 2004-05-02 23:37:28

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

[multimedia: graphics] de-jong-explorer

PKGBUILD

#Contributor: Alex Podaras <bigpod@xweb.gr>

pkgname=de-jong-explorer
pkgver=0.5
pkgrel=1
pkgdesc="de Jong Explorer provides a rendering of the Peter de Jong map, with an in
teractive GTK+ frontend and the ability to create high-resolution images from the c
ommand line"
url="http://freshmeat.net/projects/de_jong_explorer/"
depends=(gtk2 libglade)
source=(http://navi.cx/releases/$pkgname-$pkgver.tar.gz)
md5sums=(19d693ea84392186c6f89b7013ca6c99)

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p0 < $startdir/Makefile.patch
  mkdir -p /usr/local/share/de-jong-explorer/data
  install -D -m0755 $startdir/src/$pkgname-$pkgver/data/animation-render.glade $sta
rtdir/pkg/usr/local/share/de-jong-explorer/data/animation-render.glade
  install -D -m0755 $startdir/src/$pkgname-$pkgver/data/explorer.glade $startdir/pk
g/usr/local/share/de-jong-explorer/data/explorer.glade
  
  make || return 1
  install -D -m0755 $startdir/src/$pkgname-$pkgver/de-jong-explorer $startdir/pkg/u
sr/bin/de-jong-explorer
}

URL: ftp://ftp.archlinux.org/incoming/de-jon … -1.tar.bz2

I FORGOT TO PUT IN THE BZ2 the Makefile.patch sad
here it is:

--- Makefile    2004-03-01 09:48:19.000000000 +0200
+++ Makefile.new        2004-05-03 02:20:28.000000000 +0300
@@ -1,6 +1,6 @@
 PKGS    += libglade-2.0 gtk+-2.0
 CFLAGS  += -march=i686
-CFLAGS  += '-DGLADEDIR="data"'
+CFLAGS  += '-DGLADEDIR="/usr/local/share/de-jong-explorer/data"'
 CFLAGS  += `pkg-config --cflags $(PKGS)` -O3 -ffast-math
 LIBS    += `pkg-config --libs $(PKGS)`

I'm Nikos Kouremenos. Alex Podaras (bigpod in the forums and not only) is a friend of mine so I helped him because this was his first package [and the most difficult I've ever done] tongue

hmm. I think bigpod and me we're both here to stay and we're happy about it cause AL rocks!

thanks to contrasutra and kpiche

Offline

Board footer

Powered by FluxBB