You are not logged in.
Hi,
Could someone create a PKGBUILD for the Codebrowser editor, http://code-browser.sourceforge.net/index.html. I failed as the source tried to install into /usr/bin as a user, during makepkg.
Thanks,
Cotton
Offline
This one works. You should create desktop file as it is not included etc and I was too lazy Maybe I will fix it soon. Code-browser looks nice. Thank you for sharing this.
# Contributor: Arto Puranen <purcher@gmail.com>
pkgname=code-browser
pkgver=3.0
pkgrel=8
pkgdesc="Code Browser is a folding text editor, designed to hierarchically structure any kind of text file and especially source code."
arch=(i686)
url="http://code-browser.sourceforge.net/index.html"
license=('GPL')
depends=(gtk2)
source=(http://surfnet.dl.sourceforge.net/sourceforge/code-browser/$pkgname-$pkgver-src.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's|/local||' Makefile
sed -i '/INSTALL/ s|\$(bindir)|\$(DESTDIR)&|' Makefile
sed -i '/INSTALL/ s|\$(CONFIGDIR)|\$(DESTDIR)&|' Makefile
mkdir -p $startdir/pkg/usr/bin
make || return 1
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
md5sums=('a3ab418148a224b98c9d363973030568')
edit: preferences do not work yet.
edit2: now it works
edit3: added to AUR http://aur.archlinux.org/packages.php?ID=15812
Last edited by Purch (2008-03-20 01:48:54)
Offline
Many thanks for the PKGBUILD Purch - just the job.
Just one small glitch with release 5 - when the pkg & src directories are deleted after build, the schema fails as it is looking to ./pkg/usr/share/code-browser-3/config-default/preferences.cbc for the options/preferences.
Offline
I cleand up the PKGBUILD, but still shemes won't work. How did you find that wrong path?
Offline
After deleting the pkg & src directories, clicking on Tools > Options (and/or Preferences) shows the error.
Text is shown as white on black, rather than black on white.
With pkg & src present, they open in new tabs.
EDIT: Release 8 appears to have fixed this
Last edited by Cotton (2008-03-20 06:34:00)
Offline
Cotton can you change the scheme in tools / options /Display / theme ?
Offline
No. I tried putting eclipse & eclipse-fixed in the Display Schemes section in Tools > Options (as copied from the same section in Tools > Preferences) but it responded with:
~/.code-browser-3/config/preferences.cbc:236: expecting '=' but found ''
I've reverted to the default to stop this error appearing when opening a file.
Offline
It works now, in options / display just put
theme = eclipse
Offline