PKGBUILDs/extra/libyaml/PKGBUILD
2009-09-26 09:35:50 -05:00

22 lines
575 B
Bash

# Contributor: Michal Bozon <michal.bozon__at__gmail.com>
# Maintainer: Radu Andries <admiral0@tuxfamily.org>
pkgname=libyaml
_pkgname=yaml
pkgver=0.1.2
pkgrel=1
pkgdesc="YAML 1.1 library"
arch=('arm')
url="http://pyyaml.org/wiki/LibYAML"
license=('MIT')
source=(http://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz)
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('f6c9b5c2b0f6919abd79f5fd059b01dc')