updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / coyaml / PKGBUILD
blobeb52eb40f76757fe06a3d9fdec41cb23e3cb8253
1 # Maintainer: Paul Colomiets <pc@gafol.net>
3 pkgname=coyaml
4 pkgver=0.3.13
5 pkgrel=1
6 pkgdesc="A configuration file parser generator"
7 arch=('i686' 'x86_64')
8 url="http://github.com/tailhook/coyaml"
9 license=('MIT')
10 depends=('libyaml')
11 makedepends=('python' 'python-yaml')
12 source=(https://github.com/downloads/tailhook/coyaml/$pkgname-$pkgver.tar.bz2)
13 md5sums=('ea9d2cc3128b082e1891c8d23f29f970')
15 build() {
16   cd $srcdir/$pkgname-$pkgver
17   ./waf configure --prefix=/usr
18   ./waf build
21 check() {
22   cd $srcdir/$pkgname-$pkgver
23   ./waf test
26 package() {
27   cd $srcdir/$pkgname-$pkgver
28   ./waf install --destdir=$pkgdir
29   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"