# Maintainer: K. Hampf pkgbranch=Current pkgname=nixnote pkgver=1.5 pkgrel=2 pkgdesc="Formerly called nevernote, nixnote is a clone of Evernote designed to run on Linux" url="http://www.sourceforge.net/projects/nevernote/files/" arch=('i686' 'x86_64') license=('GPL') depends=('java-runtime' 'libpng12') provides=('nixnote') conflicts=('nixnote') if [ "${CARCH}" == "x86_64" ]; then _filearch=amd64 md5sums=('391f772c3219f67f83c721e8a97e6050') else _filearch=i386 md5sums=('5dca5975b5ff945054aab5735acade98') fi source=(${pkgname}-${pkgver}_${_filearch}.tar.gz::http://sourceforge.net/projects/nevernote/files/${pkgbranch}/${pkgname}-${pkgver}_${_filearch}.tar.gz/download) build() { bsdtar -xf ${pkgname}-${pkgver}_${_filearch}.tar.gz cd nixnote mv usr ${pkgdir} cd ${pkgdir}/usr/bin mv nixnote.sh nixnote }