You are not logged in.
Pages: 1
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
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
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
The official PKGBUILD has:
cd ${startdir}/src/scintilla/gtk
make || return 1
It's missing from your PKGBUILD.
Offline
how'd I miss that? Anyway, presto! The build completed successfully.
Thanks. I'm going to enjoy the new incremental search bar...
Offline
Pages: 1