mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
23 lines
575 B
Bash
23 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')
|