You are not logged in.

#1 2006-10-04 02:13:41

scrawler
Member
Registered: 2005-06-07
Posts: 318

cvs scite

howdy guys,

I'm trying to package scite from cvs.  Makepkg can't find a file it needs, because I goofed somewhere.  I used the abs scite PKGBUILD, and modified it.  What should be in it?

(thanks!)

# $Id: PKGBUILD,v 1.35 2006/07/19 17:56:51 jgc Exp $
# Maintainer: dorphell <dorphell>
# Contributor: Jochem Kossen <j>

pkgname=scite
pkgver=
pkgrel=1
pkgdesc="A generally useful editor with facilities for building and running programs."
arch=(i686)
depends=('gtk2' 'desktop-file-utils')
makedepends=('pkgconfig')
install=${pkgname}.install
url="http://www.scintilla.org/SciTE.html"

build() {
  cd ${startdir}/src/
 cvs -z3 -d:pserver:anonymous@scintilla.cvs.sourceforge.net:/cvsroot/scintilla co -P scintilla scite
  cd ${startdir}/src/scite/gtk/
  make || return 1
  make DESTDIR=${startdir}/pkg install
  ln -sf SciTE ${startdir}/pkg/usr/bin/scite

   # install a nice and working .desktop file
  sed -i 's|^Categories=.*$|Categories=GTK;Application;Utility;TextEditor;|' 
    ${startdir}/pkg/usr/share/applications/SciTE.desktop
  echo -e "MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;
text/x-c++;text/x-chdr;text/x-csrc;text/x-c;text/x-objc;text/x-java;
text/x-pascal;text/x-perl;text/x-python;text/x-php;text/x-php-source;
text/x-tcl;text/x-tex;application/x-shellscript;text/xml;text/html;text/css;" 
    >> ${startdir}/pkg/usr/share/applications/SciTE.desktop
  chmod 644 ${startdir}/pkg/usr/share/applications/SciTE.desktop
}

Offline

#2 2006-10-04 04:56:12

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

Re: cvs scite

What file makepkg can't find? Is it scite.install? If yes, get it from ABS (same place where you go t the PKGBUILD).

Offline

#3 2006-10-04 09:45:43

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: cvs scite

I guess actually it's make that can't find something.

it fails with

make: *** No rule to make target `../../scintilla/bin/scintilla.a', needed by `../bin/SciTE'.  Stop.

Offline

#4 2006-10-04 21:13:26

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

Re: cvs scite

The official PKGBUILD has:
  cd ${startdir}/src/scintilla/gtk
  make || return 1
It's missing from your PKGBUILD.

Offline

#5 2006-10-04 21:50:59

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: cvs scite

how'd I miss that?  Anyway, presto!  The build completed successfully.

Thanks.  I'm going to enjoy the new incremental search bar...

Offline

Board footer

Powered by FluxBB