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' )
|
2018-03-07 23:23:53 +00:00
|
|
|
pkgver=0.4.1
|
2017-07-13 12:48:29 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='A simple service manager for Spark Linux'
|
|
|
|
url='https://git.fleshless.org/ssm/'
|
|
|
|
arch=( 'x86_64' 'i686' )
|
|
|
|
license=( 'ISC' )
|
|
|
|
|
2017-11-22 23:05:48 +00:00
|
|
|
source=( "https://git.fleshless.org/u/spark/ssm/snapshot/ssm-${pkgver}.tar.gz" )
|
2017-07-13 12:48:29 +00:00
|
|
|
|
2018-01-10 10:03:29 +00:00
|
|
|
package_ssm() {
|
|
|
|
depends=( 'bash' )
|
|
|
|
|
2017-07-13 12:48:29 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
install -Dm755 ssm "$pkgdir/usr/bin/ssm"
|
2018-03-07 23:23:53 +00:00
|
|
|
install -Dm644 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"
|
|
|
|
}
|
|
|
|
|
2018-03-07 23:23:53 +00:00
|
|
|
sha1sums=('fd3391fec0ece142d312466127e51ea26325e24e')
|