updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / orpie / PKGBUILD
blobf23b3a795d1a005bc110abfa8383a43c747ac697
1 # Maintainer: Kazuo Teramoto <kaz.rag gmail com>
2 # Contributor: scj <scj archlinux us>
3 # Contributor: tracer <jcdenton513 gmail com>
4 pkgname=orpie
5 pkgver=1.5.1
6 pkgrel=6
7 pkgdesc='Fullscreen RPN calculator for the console.'
8 arch=('i686' 'x86_64')
9 url='http://pessimization.com/software/orpie/'
10 license=('GPL')
11 depends=('ncurses' 'gsl')
12 makedepends=('ocaml' 'ocaml-gsl')
13 _patches=('orpie-1.5.1-nogsl.patch'
14           'orpie-1.5.1-ocaml311.patch'
15           'orpie-1.5.1-orpierc.patch')
16 source=("http://pessimization.com/software/orpie/${pkgname}-${pkgver}.tar.gz"
17         "${_patches[@]}")
18 md5sums=('4511626ed853354af1b4b5dbbf143a1f'
19          '7365ae021230f4de04575618bb372221'
20          'c0779680d113dd0a9817cf36d4c92f80'
21          'ab313270d7ac9e59ee7e031e50d8761b')
23 build() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
26   # patches from gentoo
27   for patchfile in "${_patches[@]}"; do
28     patch -p1 -i "${srcdir}/${patchfile}"
29   done
31   ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/man
32   make
35 package() {
36   cd "${srcdir}/${pkgname}-${pkgver}"
38   make DESTDIR="${pkgdir}" install
41 # vim:set ts=2 sw=2 et: