Skip to content

Instantly share code, notes, and snippets.

/PKGBUILD
Created Oct 12, 2017

Embed
What would you like to do?
# Contributor: Eugenio M. Vigo <emvigo@gmail.com>
# Contributor: FadeMind <fademind@gmail.com>
# Contributor: Dmitry Korzhevin <dkorzhevin at gmail dot com>
# Contributor: 4javier <4javier4@gmail.com>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
# Contributor: cameel <cameel2/gmail/com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: SanskritFritz (gmail)
pkgname=rednotebook
pkgver=2.3
pkgrel=1
pkgdesc="A simple desktop diary."
arch=('any')
url="http://rednotebook.sourceforge.net"
license=('GPL2')
depends=('python-yaml' 'webkit2gtk' 'hicolor-icon-theme')
optdepends=('python-pyenchant: for spellchecking')
source=("${pkgname}-${pkgver}.tar.gz::https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('4ab786080b0dd0e4b9b6d580f7d7d2cc7bd1e3832c9dbebb1b2efbea81eb2cc5')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
python setup.py build
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --prefix=/usr
for _res in 16 22 32 64 128; do
install -D -m644 build/lib/rednotebook/images/rednotebook-icon/rn-${_res}.png \
${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.