summaryrefslogtreecommitdiff
path: root/community/libuv
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-25 03:21:56 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-25 03:21:56 +0000
commit58e4d57ed9a8604dff646ccdfee54f9019ca5d13 (patch)
tree4e9698b9216274fafac9483056a01a552e8e617b /community/libuv
parent15cd70d8180c2a45287e4bd8ce01a2a9248e8d62 (diff)
Tue Feb 25 03:19:16 UTC 2014
Diffstat (limited to 'community/libuv')
-rw-r--r--community/libuv/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/libuv/PKGBUILD b/community/libuv/PKGBUILD
new file mode 100644
index 000000000..55195d7af
--- /dev/null
+++ b/community/libuv/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 106163 2014-02-24 13:13:50Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+pkgname=libuv
+pkgver=0.11.19
+pkgrel=1
+pkgdesc="A new platform layer for Node.JS"
+arch=('i686' 'x86_64')
+url="https://github.com/joyent/libuv"
+license=('custom')
+depends=('glibc')
+source=("https://github.com/joyent/libuv/archive/v$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+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"
+}
+
+sha256sums=('2d2d17be846d0fe459ad1b56f10eab1e6cdf9693f7d9dbd89bb2b0de3e24ef58')