summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-27 15:22:08 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-27 15:22:08 (GMT)
commit2713ceae0b96d8a35292ffbc4377ce6c5178249e (patch)
tree1509dab4bfd40e9810eb07677da1970fb6ddb14c /abs/extra
parentd19884feaf39422bcee9b3479e338f677d5756e6 (diff)
downloadlinhes_pkgbuild-2713ceae0b96d8a35292ffbc4377ce6c5178249e.zip
linhes_pkgbuild-2713ceae0b96d8a35292ffbc4377ce6c5178249e.tar.gz
linhes_pkgbuild-2713ceae0b96d8a35292ffbc4377ce6c5178249e.tar.bz2
libuv: initial inclusion; dep of node v6
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/libuv/PKGBUILD48
-rw-r--r--abs/extra/libuv/__changelog1
2 files changed, 49 insertions, 0 deletions
diff --git a/abs/extra/libuv/PKGBUILD b/abs/extra/libuv/PKGBUILD
new file mode 100644
index 0000000..9cc9991
--- /dev/null
+++ b/abs/extra/libuv/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+pkgname=libuv
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
+arch=('i686' 'x86_64')
+url="https://github.com/libuv/libuv"
+license=('custom')
+depends=('glibc')
+makedepends=('python2-sphinx')
+source=("https://github.com/libuv/libuv/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+ make man -C docs
+
+ # skip failing get_passwd test
+ sed '/pwd\.homedir/d' -i test/test-get-passwd.c
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 AUTHORS \
+ "$pkgdir"/usr/share/doc/$pkgname/AUTHORS
+ install -Dm644 README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/README.md
+ install -Dm644 ChangeLog \
+ "$pkgdir"/usr/share/doc/$pkgname/ChangeLog
+ install -Dm644 docs/build/man/libuv.1 \
+ "$pkgdir"/usr/share/man/man1/libuv.1
+}
+
+sha256sums=('f8b8272a0d80138b709d38fad2baf771899eed61e7f9578d17898b07a1a2a5eb')
diff --git a/abs/extra/libuv/__changelog b/abs/extra/libuv/__changelog
new file mode 100644
index 0000000..1f97308
--- /dev/null
+++ b/abs/extra/libuv/__changelog
@@ -0,0 +1 @@
+PKGBUILD: change dep python-sphinx to python2-sphinx