mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
libuv is ugly...removing
This commit is contained in:
parent
0572b3b54d
commit
bbd542836a
2 changed files with 0 additions and 80 deletions
|
@ -1,49 +0,0 @@
|
|||
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
|
||||
pkgname=libuv
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="libuv is 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/node-v$pkgver.tar.gz")
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
_tardir=$(tar -tzf node-v$pkgver.tar.gz --exclude "*/*" | head -n 1)
|
||||
cd "$_tardir"
|
||||
|
||||
CFLAGS=-fPIC make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir"
|
||||
_tardir=$(tar -tzf node-v$pkgver.tar.gz --exclude "*/*" | head -n 1)
|
||||
cd "$_tardir"
|
||||
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
_tardir=$(tar -tzf node-v$pkgver.tar.gz --exclude "*/*" | head -n 1)
|
||||
cd "$_tardir"
|
||||
|
||||
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 libuv.a "$pkgdir/usr/lib/libuv.a"
|
||||
install -Dm644 libuv.so "$pkgdir/usr/lib/libuv.so"
|
||||
|
||||
cd include
|
||||
find -type f -exec \
|
||||
install -Dm644 {} "$pkgdir/usr/include/$pkgname/"{} \;
|
||||
}
|
||||
|
||||
sha256sums=('82bc2a53cf9bda76dce5b0523afafe4226baaa9654608c083c28dea814b8fd10')
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
|
||||
pkgname=python-pyuv
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
_libname=${pkgname/python-/}
|
||||
pkgdesc="A Python module which provides an interface to libuv."
|
||||
url="https://crate.io/packages/pyuv/"
|
||||
license=('MIT')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('python')
|
||||
makedepends=('libuv')
|
||||
source=("$_libname-$pkgver.tar.gz::https://github.com/saghul/pyuv/archive/release-$pkgver.tar.gz")
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_libname-release-$pkgver"
|
||||
|
||||
rm -f "deps/libuv/libuv.a"
|
||||
mkdir -p deps/libuv
|
||||
ln -s /usr/lib/libuv.a deps/libuv/
|
||||
ln -s /usr/include/libuv deps/libuv/include
|
||||
python setup.py build_ext --inplace --force
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_libname-release-$pkgver"
|
||||
python setup.py install --root="$pkgdir"
|
||||
install -m0644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
sha256sums=('18c97c0612bce7ee313c4b2b7e85a025bb57daa2ffd95f0e900e5e87f4287983')
|
Loading…
Reference in a new issue