Repair various silly packaging errors
This commit is contained in:
parent
51a092a0e2
commit
b0f651ca6c
|
@ -1,22 +1,21 @@
|
|||
# Maintainer: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
||||
pkgname=syndicate-schemas
|
||||
pkgver=0.0.1-r20220114
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Shared Syndicate Preserves Schema definitions"
|
||||
url="https://syndicate-lang.org/"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
source="https://git.syndicate-lang.org/syndicate-lang/syndicate-protocols/archive/0.0.1-r20220114.zip"
|
||||
builddir="$srcdir/syndicate-protocols"
|
||||
makedepends="
|
||||
rsync
|
||||
"
|
||||
makedepends=""
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
mkdir -p "$pkgdir/usr/share/syndicate/schemas"
|
||||
rsync schema-bundle.bin schemas "$pkgdir/usr/share/syndicate/schemas/."
|
||||
cp schema-bundle.bin "$pkgdir/usr/share/syndicate/schemas/schema-bundle.prb"
|
||||
cp schemas/*.prs "$pkgdir/usr/share/syndicate/schemas/."
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
|
@ -8,7 +8,7 @@ url="https://syndicate-lang.org/"
|
|||
arch="all"
|
||||
license="GPLv3"
|
||||
depends=""
|
||||
makedepends="rsync"
|
||||
makedepends=""
|
||||
source=""
|
||||
builddir="$srcdir/"
|
||||
options="!check"
|
||||
|
@ -22,6 +22,6 @@ package() {
|
|||
cp -p ../syndicate-server.${CARCH} "$pkgdir/usr/bin/syndicate-server"
|
||||
|
||||
mkdir -p "$pkgdir/usr/share/syndicate-server/schemas"
|
||||
rsync ../protocols/schema-bundle.bin ../protocols/schemas \
|
||||
"$pkgdir/usr/share/syndicate-server/schemas"
|
||||
cp ../protocols/schema-bundle.bin "$pkgdir/usr/share/syndicate-server/schemas/schema-bundle.prb"
|
||||
cp ../protocols/schemas/*.prs "$pkgdir/usr/share/syndicate-server/schemas/."
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
||||
pkgname=synit-config
|
||||
pkgver=0.0.5
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="synit system layer configuration"
|
||||
url="https://synit.org/"
|
||||
arch="noarch"
|
||||
|
@ -44,10 +44,9 @@ package() {
|
|||
rsync -a "$startdir/files/." "$pkgdir/."
|
||||
|
||||
mkdir -p "$pkgdir/usr/share/synit/schemas"
|
||||
rsync -a \
|
||||
"$startdir/protocols/schema-bundle.bin" \
|
||||
"$startdir/protocols/schemas" \
|
||||
"$pkgdir/usr/share/synit/schemas"
|
||||
ls -laR $startdir/protocols
|
||||
cp "$startdir/protocols/schema-bundle.bin" "$pkgdir/usr/share/synit/schemas/schema-bundle.prb"
|
||||
cp "$startdir/protocols/schemas/"*.prs "$pkgdir/usr/share/synit/schemas/."
|
||||
|
||||
ln -sf /sbin/synit-init.sh "$pkgdir/sbin/init"
|
||||
mkdir -p "$pkgdir/var/lock/synit"
|
||||
|
|
Loading…
Reference in New Issue