#Packager: Dimitris Tzemos pkgname=orthcal pkgver=1.4 pkgrel=1dj source=("https://launchpad.net/orthcal/trunk/orthcal-1.4/+download/$pkgname-$pkgver.tar.gz" "convert.patch") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname/ docs=("Dependencies") url=https://launchpad.net/orthcal slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "OrthCal (Eastern Orthodox Calendar)" "OrthCal is an Eastern Orthodox Calendar, showing the Feasts of the" "day both in the Julian (Old) calendar and the Revised Julian (New)" "calendar. It also comes with other tools, such as Feast finder" "and Pascha calculator." ) build() { cd $SRC/$pkgname-$pkgver patch -p1 < $SRC/convert.patch || return 1 make || return 1 make install DESTDIR=$PKG || return 1 chmod 755 $PKG/usr/share/locale/{el,es,ro,ru} || return 1 chmod 755 $PKG/usr/share/locale/{el,es,ro,ru}/LC_MESSAGES || return 1 chown -R root:root $PKG || return 1 }