blob: 3ec67b265fdd3e52fed7c97b08e84e828aef78de (
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
|
#!/bin/mkpkg
# description: rpcsvc protocol definitions from glibc
# url: https://github.com/thkukuk/rpcsvc-proto
name=rpcsvc-proto
version=1.4.4
release=1
depends=(libtirpc)
makedeps=()
source=(https://github.com/thkukuk/$name/releases/download/v$version/$name-$version.tar.xz)
sha256sums=(
"81c3aa27edb5d8a18ef027081ebb984234d5b5860c65bd99d4ac8f03145a558b"
)
build() {
cd $name-$version
# musl does not have stat64/struct stat64 (uses 64-bit stat natively)
sed -i 's/struct stat64/struct stat/g; s/stat64 (/stat (/g' rpcgen/rpc_main.c
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR=$PKG install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|