blob: 5888c66fe480c30eece19b22f3d4ce123cf03d96 (
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
|
#!/bin/mkpkg
# description: Asynchronous DNS resolver library
# url: https://c-ares.org
name=c-ares
version=1.34.8
release=1
depends=()
source=(https://github.com/c-ares/c-ares/releases/download/v$version/c-ares-$version.tar.gz)
sha256sums=(
"c222b6d681096f9444d2c4863d2c1174019e27cacca0a4a5c114d36dd7d7bf78"
)
build() {
cd $name-$version
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCARES_STATIC=OFF \
-DCARES_SHARED=ON \
-DCARES_BUILD_TOOLS=OFF \
-DCARES_BUILD_TESTS=OFF
samu -C build
DESTDIR=$PKG samu -C build install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|