blob: a2490709fb1d83b6f7b9e60f32b0955d9e97d412 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 112017 2014-05-28 16:26:31Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=libuv
pkgver=0.11.25
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"
"inet_pton6.patch::https://github.com/joyent/libuv/compare/6d56e6e132717df13c7ed76e6cc3ee53105759be...4fac9427e4a652cdebf241803ce7443dd59a4451.patch")
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i "$srcdir/inet_pton6.patch"
}
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=('b95a3e5eca9554998b7423ee786205e52731e82e2d24cbbd4f65af763de542fb'
'655c98f10daf171ce736cea594b710a3f8d72f4da02613588eb9856e4bb36561')
|