#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname="nixnote" pkgver=1.2 pkgrel=1rl _partURL=$([ $(uname -m) = x86_64 ] && echo "amd64" || echo "i386") #arch=noarch source=("http://sourceforge.net/projects/nevernote/files/Current/${pkgname}-${pkgver}_${_partURL}.tar.gz") sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://nevernote.sourceforge.net/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "nixnote (An Open Source Evernote Clone)" "Nixnote (formally know as Nevernote) is an open source clone of" "Evernote. Evernote is a suite of software and services designed for" "notetaking and archiving. While nixnote is designed to work with" "Evernote, it is in no way connected with or supported by Evernote." "Any problems you encounter will not be corrected by them and, since" "this is GPL software, you are using this software at your own risk." ) build() { sed -i 's/\/usr\/share\/nixnote\/nixnote.png/nixnote.png/g' $startdir/src/nixnote/usr/share/applications/nixnote.desktop cd $startdir/src/$pkgname cp -rf usr $startdir/pkg/ cd $startdir/pkg/usr/bin mv nixnote.sh nixnote # lets deal with the icons cd $startdir/src/$pkgname/usr/share/nixnote for size in 16 32 48;do convert -resize ${size}x${size} nixnote.png nixnote.${size}.png install -Dm644 nixnote.${size}.png ${startdir}/pkg/usr/share/icons/hicolor/${size}x${size}/apps/nixnote.png done }