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' )
|
2017-12-10 17:14:53 +00:00
|
|
|
pkgver=0.3.5
|
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"
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2017-12-10 17:14:53 +00:00
|
|
|
sha1sums=('9a6dec0b55d156ecf4d5df5392acd3558d9318fb')
|