Created attachment 382678 [details] sqlitestudio-2.1.5.ebuild SqliteStudio is powerful, comfortable and lightweight front-end for managing Sqlite2/3 databases
Created attachment 382680 [details, diff] sqlitestudio-2.1.5-typofix.patch
Comment on attachment 382678 [details] sqlitestudio-2.1.5.ebuild >DESCRIPTION="SQLiteStudio is a SQLite database manager with many features" DESCRIPTION need not include the name in this case, as ${PN} is basically the same. >LICENSE="GPLv2" That is invalid - it should be "GPL-2". >SLOT="0" >KEYWORDS="~amd64" >IUSE="" Drop the empty IUSE. >DEPEND=" > >=dev-db/sqlite-3.7[tcl] > =dev-tcltk/itcl-3.4.1 > >=dev-tcltk/tktreectrl-2.3.2 > >=dev-tcltk/tkpng-0.7 > >=dev-tcltk/tkdnd-2.6 > =dev-tcltk/itk-3.4_pre20090417-r1 > dev-tcltk/thread" Dubious whitespace - why the extra tab on that last line? >RDEPEND="${DEPEND}" > >src_prepare() { > epatch "${FILESDIR}/${P}-typofix.patch" >} > >src_install() { > mkdir -p ${D}/usr/share/${PN} mkdir -> dodir > cp -av * ${D}/usr/share/${PN} Need not be verbose. > mkdir -p ${D}/usr/bin mkdir -> dodir > chmod +x ${D}/usr/bin/${PN} fperms +x /usr/bin/${PN}
Comment on attachment 382678 [details] sqlitestudio-2.1.5.ebuild ># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit eutils > >DESCRIPTION="SQLiteStudio is a SQLite database manager with many features" >HOMEPAGE="http://sqlitestudio.pl/" >SRC_URI="http://sqlitestudio.pl/files/free/stable/tar/${PN}-${PV}.tar.bz2" > >LICENSE="GPLv2" >SLOT="0" >KEYWORDS="~amd64" >IUSE="" > >DEPEND=" > >=dev-db/sqlite-3.7[tcl] > =dev-tcltk/itcl-3.4.1 > >=dev-tcltk/tktreectrl-2.3.2 > >=dev-tcltk/tkpng-0.7 > >=dev-tcltk/tkdnd-2.6 > =dev-tcltk/itk-3.4_pre20090417-r1 > dev-tcltk/thread" >RDEPEND="${DEPEND}" Also, are you sure all of this is needed at build time, i.e. wouldn't setting these as RDEPEND only suffice? >src_prepare() { > epatch "${FILESDIR}/${P}-typofix.patch" >} > >src_install() { > mkdir -p ${D}/usr/share/${PN} > cp -av * ${D}/usr/share/${PN} > mkdir -p ${D}/usr/bin > echo -e "#!/bin/bash \ntclsh /usr/share/${PN}/main.tcl" > ${D}/usr/bin/${PN} > chmod +x ${D}/usr/bin/${PN} >}
Created attachment 382840 [details] New version of ebuild
(In reply to Jeroen Roovers from comment #3) > Comment on attachment 382678 [details] > sqlitestudio-2.1.5.ebuild > > ># Copyright 1999-2014 Gentoo Foundation > ># Distributed under the terms of the GNU General Public License v2 > ># $Header: $ > > > >EAPI=5 > > > >inherit eutils > > > >DESCRIPTION="SQLiteStudio is a SQLite database manager with many features" > >HOMEPAGE="http://sqlitestudio.pl/" > >SRC_URI="http://sqlitestudio.pl/files/free/stable/tar/${PN}-${PV}.tar.bz2" > > > >LICENSE="GPLv2" > >SLOT="0" > >KEYWORDS="~amd64" > >IUSE="" > > > >DEPEND=" > > >=dev-db/sqlite-3.7[tcl] > > =dev-tcltk/itcl-3.4.1 > > >=dev-tcltk/tktreectrl-2.3.2 > > >=dev-tcltk/tkpng-0.7 > > >=dev-tcltk/tkdnd-2.6 > > =dev-tcltk/itk-3.4_pre20090417-r1 > > dev-tcltk/thread" > >RDEPEND="${DEPEND}" > > Also, are you sure all of this is needed at build time, i.e. wouldn't > setting these as RDEPEND only suffice? > > >src_prepare() { > > epatch "${FILESDIR}/${P}-typofix.patch" > >} > > > >src_install() { > > mkdir -p ${D}/usr/share/${PN} > > cp -av * ${D}/usr/share/${PN} > > mkdir -p ${D}/usr/bin > > echo -e "#!/bin/bash \ntclsh /usr/share/${PN}/main.tcl" > ${D}/usr/bin/${PN} > > chmod +x ${D}/usr/bin/${PN} > >} Thanks for comments - I fixed the mistakes, and sorry for troubling you. I've wrote this ebuild just for my own purpose and decided to share it...
This has since been added to the tree.