blob: a8f00105751cd1538cf9a4be0229cf9a3f06d88c (
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
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=orchestrator-bin
pkgver=3.2.6
pkgrel=1
pkgdesc='MySQL high availability and replication management tool, runs as a service and provides command line access, HTTP API and Web interface'
arch=('i686' 'x86_64')
url='https://github.com/openark/orchestrator'
license=('Apache')
options=('!emptydirs')
depends=('bash')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/openark/orchestrator/releases/download/v${pkgver}/orchestrator-${pkgver}-linux-amd64.tar.gz")
noextract=("${pkgname}-${pkgver}.tar.gz::")
sha256sums=('688fd3432a014628692a284d9bee06fbab5c7b5704bd3425d580a37b3eb3a9da')
package() {
tar xf "${srcdir}"/*.tar.gz -C "${pkgdir}"
mkdir -p "${pkgdir}/opt"
mkdir -p "${pkgdir}/usr/bin"
mv "${pkgdir}/usr/local/orchestrator" "${pkgdir}/opt/"
ln -s /opt/orchestrator/orchestrator "${pkgdir}/usr/bin/orchestrator"
install -d "${pkgdir}/usr/lib/systemd/system"
mv "${pkgdir}/etc/systemd/system/orchestrator.service" "${pkgdir}/usr/lib/systemd/system"
rm -rf "${pkgdir}/etc/"
}
# vim:set ts=2 sw=2 et:
|