Added seafile and deps
All checks were successful
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Successful in 2h8m12s
All checks were successful
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Successful in 2h8m12s
This commit is contained in:
parent
18f296adf5
commit
e1c3f3980f
6 changed files with 205 additions and 1 deletions
40
srcpkgs/libsearpc/APKBUILD
Normal file
40
srcpkgs/libsearpc/APKBUILD
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Contributor: ITmodulo <itmodulo@disroot.org>
|
||||
# Maintainer: ITmodulo <itmodulo@disroot.org>
|
||||
pkgname="libsearpc"
|
||||
pkgver=3.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="A simple C language RPC framework (including both server side & client side)"
|
||||
arch="all"
|
||||
url="https://github.com/haiwen/libsearpc"
|
||||
license="Apache-2.0"
|
||||
depends="py3-gobject3 py3-simplejson"
|
||||
makedepends="musl-dev jansson-dev py3-gobject3-dev glib-dev autoconf automake libtool pkgconf"
|
||||
_pkgver="${pkgver%.*}-latest"
|
||||
source="libsearpc-$_pkgver.tar.gz::$url/archive/v$_pkgver.tar.gz"
|
||||
|
||||
prepare () {
|
||||
default_prepare
|
||||
cd "$srcdir/$pkgname-$_pkgver"
|
||||
sed -i 's|(DESTDIR)@prefix@|@prefix@|' './libsearpc.pc.in'
|
||||
}
|
||||
|
||||
build () {
|
||||
cd "$srcdir/$pkgname-$_pkgver"
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr PYTHON='/usr/bin/python3'
|
||||
make
|
||||
}
|
||||
|
||||
check () {
|
||||
cd "$srcdir/$pkgname-$_pkgver"
|
||||
make check
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "$srcdir/$pkgname-$_pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
94213219d5fccec83f7fbbce72403430ca183b8b8e915b9b488e395966e4b3745e06cdfca627118e551b190f094fed2cb5d90ee46e8435dcf184c48a2bc301be libsearpc-3.3-latest.tar.gz
|
||||
"
|
||||
Loading…
Add table
Add a link
Reference in a new issue