updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / today / PKGBUILD
blobfaa1cf31f1f308fb2b560a1c2031c9e9ed437567
1 # Maintainer: Christos Nouskas <nous at archlinux dot us>
2 # 29 May 2010
4 pkgname=today
5 pkgver=0.66
6 pkgrel=1
7 pkgdesc="Eortologio is a console utility that displays fixed and movable feasts of the Greek calendar."
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/gtoday/"
10 license=('GPLv2')
11 depends=()
12 makedepends=('gcc')
13 options=('strip')
14 source=(g${pkgname}-${pkgver}.tar.bz2::http://downloads.sourceforge.net/g$pkgname/g$pkgname-$pkgver.tar.bz2
15         archfs.patch)
16 install=${pkgname}.install
17 sha256sums=('b8a6ab6c28ed18054456a196a12c61547dff7556c6e0d6436fbd6447f284cf1b'
18             '50677fae0180e2e20b59c5c230a85497784573c1e20bf4c7665684ad8a231a9b')
20 build() {
21     mv g$pkgname-$pkgver $pkgname-$pkgver
22     cd $srcdir/$pkgname-$pkgver
23     patch -p0 -i ${srcdir}/archfs.patch
24     make
27 package() {
28     mkdir -p ${pkgdir}/usr/bin
29     mkdir -p ${pkgdir}/usr/share/today
30     cd $srcdir/$pkgname-$pkgver
31     cp today ${pkgdir}/usr/bin
32     cp README INSTALL TODO Changelog LICENSE personal.dat today.dat config ${pkgdir}/usr/share/today/