2017-07-13 12:48:29 +00:00
|
|
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
|
|
|
2018-01-10 10:03:29 +00:00
|
|
|
pkgbase=ssm
|
|
|
|
pkgname=( 'ssm' 'ssm-service' )
|
2021-01-24 16:37:34 +00:00
|
|
|
pkgver=0.5.3
|
2017-07-13 12:48:29 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='A simple service manager for Spark Linux'
|
2020-05-12 19:41:49 +00:00
|
|
|
url='https://code.fleshless.org/spark/ssm'
|
2017-07-13 12:48:29 +00:00
|
|
|
arch=( 'x86_64' 'i686' )
|
|
|
|
license=( 'ISC' )
|
|
|
|
|
2020-05-12 19:41:49 +00:00
|
|
|
source=( "https://code.fleshless.org/Spark/ssm/archive/$pkgver.tar.gz" )
|
2017-07-13 12:48:29 +00:00
|
|
|
|
2018-01-10 10:03:29 +00:00
|
|
|
package_ssm() {
|
|
|
|
depends=( 'bash' )
|
|
|
|
|
2020-05-12 19:41:49 +00:00
|
|
|
cd "$pkgname"
|
2017-07-13 12:48:29 +00:00
|
|
|
install -Dm755 ssm "$pkgdir/usr/bin/ssm"
|
2020-03-07 15:53:18 +00:00
|
|
|
install -Dm644 examples/ssm.conf "$pkgdir/etc/ssm/ssm.conf"
|
2017-07-13 12:48:29 +00:00
|
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|
|
|
|
|
2018-01-10 10:03:29 +00:00
|
|
|
package_ssm-service() {
|
|
|
|
mkdir -pm755 "$pkgdir/usr/bin"
|
|
|
|
ln -s '/usr/bin/ssm' "$pkgdir/usr/bin/service"
|
|
|
|
}
|
|
|
|
|
2021-01-24 16:37:34 +00:00
|
|
|
sha1sums=('958a791d6c5f460eacb2a2fad4f1587995dd3999')
|