fbt
121011652c
Some checks failed
Package builder / BuildPackage (push) Failing after 45s
Signed-off-by: fbt <fbt@fleshless.org>
30 lines
738 B
Bash
30 lines
738 B
Bash
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
# Trigger: kadhfsdkjh
|
|
|
|
pkgbase=ssm
|
|
pkgname=( 'ssm' 'ssm-service' )
|
|
pkgver=0.5.3
|
|
pkgrel=1
|
|
pkgdesc='A simple service manager for Spark Linux'
|
|
url='https://code.fleshless.org/spark/ssm'
|
|
arch=( 'x86_64' 'i686' )
|
|
license=( 'ISC' )
|
|
|
|
source=( "https://code.fleshless.org/Spark/ssm/archive/$pkgver.tar.gz" )
|
|
|
|
package_ssm() {
|
|
depends=( 'bash' )
|
|
|
|
cd "$pkgname"
|
|
install -Dm755 ssm "$pkgdir/usr/bin/ssm"
|
|
install -Dm644 examples/ssm.conf "$pkgdir/etc/ssm/ssm.conf"
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|
|
package_ssm-service() {
|
|
mkdir -pm755 "$pkgdir/usr/bin"
|
|
ln -s '/usr/bin/ssm' "$pkgdir/usr/bin/service"
|
|
}
|
|
|
|
sha1sums=('958a791d6c5f460eacb2a2fad4f1587995dd3999')
|