PKGBUILDs/extra/libyaml/PKGBUILD

23 lines
575 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# 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')