#Maintainer: George Vlahavas (vlahavas~at~gmail.com, gapan@zenwalk forums) pkgname=beaver pkgver=0.3.0.1 zenver=54 pkgrel=1 arch=i486 source=("http://download.savannah.gnu.org/releases/beaver/0.3.0.1%20-%202008.06.26/beaver0_3_0_1.tgz" "http://pnboy.pinguix.com/gapan/$pkgname/beaver-0.3.0.1-makefile-and-icons.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "bugs" "thanks") url=http://www.nongnu.org/beaver/index.html sourcetemplate=http://pnboy.pinguix.com/gapan/$pkgname options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "beaver is a lightweight, yet feature-rich editor." "Beaver is a recursive acronym for Beaver is an Early AdVanced EditoR." "It is based upon the GTK+ 2 toolkit, supports many languages through" "config files and offers functions such as automatic indentation," "completion and correction, as well as syntax highlighting. It even has" "its own mini macro language." ) build() { cd $startdir/src/beaver0_3_0_1 patch -p1 < $startdir/src/beaver-0.3.0.1-makefile-and-icons.patch make PREFIX=/usr || return 1 make install PREFIX=/usr DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps ln -s ../../../../beaver/pixmaps/beaver.png beaver.png }