updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / smocaml / PKGBUILD
blob94eb4e3a947e08ea831edb7e4bb2936d9c0c9d6b
1 # Maintainer: Guillaume Brunerie <guillaume.brunerie@[ens.fr|gmail.com]>
2 pkgname=smocaml
3 pkgver=1.6.1
4 pkgrel=1
5 pkgdesc="Server for Stepmania Online"
6 arch=('i686' 'x86_64')
7 url="https://sourceforge.net/projects/smocaml/"
8 license=('MIT')
9 depends=('glibc')
10 makedepends=('ocaml')
11 install=smocaml.install
12 source=(http://downloads.sourceforge.net/$pkgname/SMOCaml-$pkgver.tar.gz)
13 md5sums=(3d9a5ebf3cf52417af3677a0ce93e08d)
15 build() {
16   cd "$srcdir/SMOCaml"
18   sed -i s#\./etc#/etc/smocaml.d# src/main.ml
19   make
22 package() {
23   cd "$srcdir/SMOCaml"
25   install -D smocaml $pkgdir/usr/bin/smocaml
26   mkdir -p $pkgdir/etc/smocaml.d
27   install -Dm644 etc/* $pkgdir/etc/smocaml.d/
28   install -Dm644 COPYING $pkgdir/usr/share/licenses/smocaml/COPYING
31 # vim:set ts=2 sw=2 et: