blob: 03f95e019e37f08794171f87e6b849de6c402c88 (
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
|
#!/bin/mkpkg
# description: User-mode networking library (SLIRP), split out of QEMU
# url: https://gitlab.freedesktop.org/slirp/libslirp
name=libslirp
version=4.9.5
release=1
depends=(glib)
makedeps=(meson ninja pkgconf)
source=(https://github.com/qemu/libslirp/archive/v${version}/${name}-${version}.tar.gz)
sha256sums=(
"3881a82ac476567c46146980fea439f6ecfa631bed533c584c1a6ed19c309ebc"
)
build() {
cd $name-$version
meson setup build \
--prefix=/usr \
--libdir=lib \
--buildtype=plain \
--default-library=shared
ninja -C build $MKPKG_MAKEFLAGS
DESTDIR=$PKG ninja -C build install
rm -rf $PKG/share/doc
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|