syndicate-server packaging
This commit is contained in:
parent
614cc35623
commit
eb0ab56085
|
@ -9,6 +9,8 @@ SIGNING_KEY = $(HOME)/.abuild/$(KEYFILE)
|
|||
|
||||
PACKAGES = \
|
||||
squeak-vm.apk \
|
||||
syndicate-server.apk \
|
||||
synit-pid1.apk \
|
||||
|
||||
build: $(PACKAGES) sign
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
buildlog.*
|
|
@ -0,0 +1,33 @@
|
|||
# Contributor: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
||||
# Maintainer: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
||||
pkgname=syndicate-server
|
||||
pkgver=0.14.0
|
||||
pkgrel=0
|
||||
pkgdesc="Syndicate server"
|
||||
url="https://syndicate-lang.org/"
|
||||
arch="all"
|
||||
license="GPLv3"
|
||||
depends=""
|
||||
makedepends=""
|
||||
source="
|
||||
syndicate-server.aarch64
|
||||
syndicate-server.armv7
|
||||
syndicate-server.x86_64
|
||||
"
|
||||
builddir="$srcdir/"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
:
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
cp -p syndicate-server.${CARCH} "$pkgdir/usr/bin/."
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3e942f235022a5f7998bd67e9e4fdb926bc7d13ecfbab57279f496724fd6091cf06198d440805ebfe0bc37a2db20d8164b700804885468892a5a71dc25551aea syndicate-server.aarch64
|
||||
1f9f2554418037caac3e5a2041a4519e176996119cb277cc7d06c884b7e3f46d576ae7c9822a10cf3ebda3ffcc354f02da985a9156f1b4dc479598a4d008ec1c syndicate-server.armv7
|
||||
594ad4f97792317fe550cb1cb5cdcfda4e38034561def0931c39991f84e92afb10ed7cdd351ae44842766ec1aadc5272e32994e9cde15566cf26d9e0046762ec syndicate-server.x86_64
|
||||
"
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
set -e
|
||||
|
||||
build() {
|
||||
make -C ~/src/syndicate-rs $1-binary-release 2>&1 | tee buildlog.$1
|
||||
cp -p ~/src/syndicate-rs/target/$1-*/release/syndicate-server syndicate-server.$1
|
||||
}
|
||||
|
||||
build x86_64 &
|
||||
build armv7 &
|
||||
build aarch64 &
|
||||
wait
|
|
@ -7,7 +7,7 @@ pkgdesc="synit pid 1 program"
|
|||
url="https://synit.org/"
|
||||
arch="all"
|
||||
license="GPLv3"
|
||||
depends=""
|
||||
depends="syndicate-server"
|
||||
makedepends=""
|
||||
source="
|
||||
synit-pid1.aarch64
|
||||
|
|
Loading…
Reference in New Issue