-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
34 lines (31 loc) · 866 Bytes
/
template
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
# Template file for 'libuev'
pkgname=libuev
version=2.4.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight event loop library"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://github.com/troglobit/libuev"
changelog="https://github.com/troglobit/libuev/raw/master/ChangeLog.md"
distfiles="https://github.com/troglobit/libuev/archive/v${version}.tar.gz"
checksum=aeeca1889a65ee1927845676da2c23f34e4c3ae770dedce8313dc6088bd92d52
pre_configure() {
./autogen.sh
}
post_install() {
vlicense LICENSE
rm -f ${DESTDIR}/usr/share/doc/libuev/LICENSE
}
libuev-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}