2014-11-05 10:36:06 +00:00
|
|
|
# Maintainer: Nick Kavalieris <ph4ntome[at]gmail[dot]com>
|
2014-11-06 12:01:21 +00:00
|
|
|
# Upstream Author : George Tzoumas <geotz[at]gmail[dot]com>
|
2014-11-05 10:36:06 +00:00
|
|
|
# For contributors check the AUTHORS file
|
2014-11-06 12:01:21 +00:00
|
|
|
|
|
|
|
# This file is also included in the source tree for purposes of completeness
|
2014-11-06 17:49:44 +00:00
|
|
|
# The normal way of aqusition is from AUR: https://aur.archlinux.org/packages/callirhoe/
|
2014-11-06 12:01:21 +00:00
|
|
|
|
2014-11-05 10:36:06 +00:00
|
|
|
pkgname=callirhoe
|
2015-03-19 12:13:44 +02:00
|
|
|
pkgver=20150318
|
2014-11-05 10:36:06 +00:00
|
|
|
pkgrel=1
|
2014-11-06 17:49:44 +00:00
|
|
|
pkgdesc="PDF & Photo calendar creator with high quality vector graphics"
|
2015-03-18 23:44:44 +01:00
|
|
|
url="https://geotz.github.io/callirhoe/"
|
2014-11-05 10:36:06 +00:00
|
|
|
arch=('any')
|
|
|
|
license=('GPLv3')
|
|
|
|
depends=('python2' 'imagemagick' 'python2-cairo' 'subversion')
|
2015-03-19 12:13:44 +02:00
|
|
|
_gitroot="git://github.com/geotz/callirhoe.git"
|
|
|
|
_gitname="callirhoe"
|
|
|
|
md5sums=()
|
2014-11-05 10:36:06 +00:00
|
|
|
|
|
|
|
pkgver() {
|
2015-03-19 12:13:44 +02:00
|
|
|
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."
|
2014-11-05 10:36:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2015-03-19 12:13:44 +02:00
|
|
|
msg "Building package."
|
|
|
|
cd "${srcdir}"/$_gitname
|
2014-11-06 11:58:56 +00:00
|
|
|
make
|
2014-11-05 10:36:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
|
|
make DESTDIR="$pkgdir/usr" install
|
|
|
|
}
|