# Maintainer: Nick Kavalieris # Upstream Author : George Tzoumas # For contributors check the AUTHORS file # This file is also included in the source tree for purposes of completeness # The normal way of aqusition is from AUR: https://aur.archlinux.org/packages/callirhoe/ pkgname=callirhoe pkgver=20150318 pkgrel=1 pkgdesc="PDF & Photo calendar creator with high quality vector graphics" url="https://geotz.github.io/callirhoe/" arch=('any') license=('GPLv3') depends=('python2' 'imagemagick' 'python2-cairo' 'subversion') _gitroot="git://github.com/geotz/callirhoe.git" _gitname="callirhoe" md5sums=() pkgver() { date +%Y%m%d } prepare() { cd "${srcdir}" msg "Connecting to GitHub server..." if [ -d $_gitname ] then cd $_gitname && git pull origin msg "The local files are updated." else git clone --depth=1 $_gitroot $_gitname fi msg "Git checkout done." } build() { msg "Building package." cd "${srcdir}"/$_gitname make } package() { cd "${srcdir}/${pkgname}" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" make DESTDIR="$pkgdir/usr" install }