ssm/PKGBUILD
fbt b57d5bec8f 0.4.1
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-08 02:23:53 +03:00

29 lines
721 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgbase=ssm
pkgname=( 'ssm' 'ssm-service' )
pkgver=0.4.1
pkgrel=1
pkgdesc='A simple service manager for Spark Linux'
url='https://git.fleshless.org/ssm/'
arch=( 'x86_64' 'i686' )
license=( 'ISC' )
source=( "https://git.fleshless.org/u/spark/ssm/snapshot/ssm-${pkgver}.tar.gz" )
package_ssm() {
depends=( 'bash' )
cd "${pkgname}-${pkgver}"
install -Dm755 ssm "$pkgdir/usr/bin/ssm"
install -Dm644 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=('fd3391fec0ece142d312466127e51ea26325e24e')