summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d4023c4a136547a36a7b057e0475fd4039e3f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Amiad Bareli <amiad@hatul.info>
pkgname=libhdate-glib
libname=libhdate-glib
pkgver=0.5.0
pkgrel=1
pkgdesc="Gobject bindings for LibHdate. LibHdate is a small C,C++ library for Hebrew calendar, dates, holidays, and reading sequence (parasha)."
url="http://libhdate-glib.googlecode.com"
license="GPL"
arch=('i686' 'x86_64')
depends=('libhdate>=1.6' 'vala')
makedepends=("gcc" "autoconf" "automake")
source=(http://$libname.googlecode.com/files/$libname-$pkgver.tar.bz2)
md5sums=('072c55c3b5c9f1e8ac202f9fb70b41ac')

package() {
  cd $srcdir/$libname-$pkgver
  sed -i 's/ac_default_prefix=\/usr\/local/ac_default_prefix=\/usr/' ./configure
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir/ install
}