summaryrefslogtreecommitdiff
path: root/extra/libuv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libuv/PKGBUILD')
-rw-r--r--extra/libuv/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/libuv/PKGBUILD b/extra/libuv/PKGBUILD
new file mode 100644
index 00000000..875804ad
--- /dev/null
+++ b/extra/libuv/PKGBUILD
@@ -0,0 +1,20 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # archive link is wrong
+ source[0]="https://github.com/libuv/libuv/archive/v$pkgver.tar.gz"
+
+ # no python sphinx
+ makedepends=(${makedepends[@]//python-sphinx/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /make man/d
+ '
+ declare -f package | \
+ sed '
+ /install.*libuv/d
+ '
+ )"
+fi
+
+