blob: 50e1b2df964f93cd39b5b6f8a6a1991fd7a2d841 (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libuv-git
pkgver=1.13.1.r67.g9834c4f7
pkgrel=1
pkgdesc="A multi-platform support library with a focus on asynchronous I/O"
arch=('i686' 'x86_64')
url="http://libuv.org/"
license=('MIT')
depends=('glibc')
makedepends=('git' 'python-sphinx')
provides=('libuv')
conflicts=('libuv')
source=("git+https://github.com/libuv/libuv.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "libuv"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libuv"
./autogen.sh
./configure --prefix="/usr"
make
make -C "docs" man
}
check() {
cd "libuv"
make check
}
package() {
cd "libuv"
make DESTDIR="$pkgdir" install
install -Dm644 "docs/build/man/libuv.1" "$pkgdir/usr/share/man/man1/libuv.1"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/libuv/LICENSE"
}
|