diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/libyaml/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/libyaml/PKGBUILD b/abs/extra/libyaml/PKGBUILD new file mode 100644 index 0000000..73d2c7b --- /dev/null +++ b/abs/extra/libyaml/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 66208 2012-02-23 03:22:37Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Michal Bozon <michal.bozon__at__gmail.com> + +pkgname=libyaml +pkgver=0.1.4 +pkgrel=2 +pkgdesc="YAML 1.1 library" +arch=('i686' 'x86_64') +url="http://pyyaml.org/wiki/LibYAML" +license=('MIT') +source=(http://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz) +md5sums=('36c852831d02cf90508c29852361d01b') + +build() { + cd "$srcdir/yaml-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/yaml-$pkgver" + make DESTDIR="$pkgdir" install + install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + |