summaryrefslogtreecommitdiff
path: root/pcr/cppo/PKGBUILD
blob: 601882a8a8c0e14d699d4faba93d7b8580735a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor (Arch)     : Leonard de Ruijter <leonard@aur.archlinux.org>
# Contributor (Arch)     : Serge Zirukin <ftrvxmtrx@gmail.com>
# Contributor (Arch)     : Justin Davis <jrcd 83 at gmail>
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=cppo
pkgver=0.9.3
pkgrel=2
pkgdesc="The C preprocessor written in OCaml"
arch=('i686' 'x86_64')
license=('BSD')
makedepends=('ocaml')
url='http://mjambon.com/cppo.html'
source=("http://mjambon.com/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")


build() {
  cd $srcdir/$pkgname-$pkgver
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  mkdir -p "${pkgdir}/usr/bin"
  make install BINDIR="${pkgdir}/usr/bin"
}