#Packager: Panagiotis Papasotiriou
pkgname=xnedit pkgver=1.5.3 pkgrel=1pp source=( "https://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.gz" "xnedit-icons.tgz" ) sourcetemplate=https://people.salixos.org/papasot/slackel/$pkgname url="https://sourceforge.net/projects/xnedit" docs=("CHANGELOG" "ReleaseNotes") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xnedit (modernized fork of NEdit)" "XNEdit is a fast X11 text editor based on the classic Nirvana Editor" "(NEdit). It provides full unicode support and antialiased text" "rendering." "" "HomePage: https://sourceforge.net/projects/xnedit" ) build() { cd $startdir/src/$pkgname make -j $numjobs linux || exit 1 mkdir -p $startdir/pkg/usr/bin cp -f $startdir/src/$pkgname/source/xnedit $startdir/pkg/usr/bin/ cp -f $startdir/src/$pkgname/source/xnc $startdir/pkg/usr/bin/ for size in "16" "24" "32" "48" "64" "96" "128"; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps; cp -f $startdir/src/xnedit-$size.png $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps/xnedit.png done #cp -f $startdir/src/$pkgname/resources/desktop/xnedit.png $startdir/pkg/usr/share/icons/hicolor/96x96/apps/ mkdir -p $startdir/pkg/usr/share/applications cp -f $startdir/src/$pkgname/resources/desktop/xnedit.desktop $startdir/pkg/usr/share/applications/ }