ssm-service link
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
34280c72aa
commit
0a8ca89978
13
PKGBUILD
13
PKGBUILD
|
@ -1,20 +1,27 @@
|
|||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||
|
||||
pkgname=ssm
|
||||
pkgbase=ssm
|
||||
pkgname=( 'ssm' 'ssm-service' )
|
||||
pkgver=0.3.5
|
||||
pkgrel=1
|
||||
pkgdesc='A simple service manager for Spark Linux'
|
||||
url='https://git.fleshless.org/ssm/'
|
||||
arch=( 'x86_64' 'i686' )
|
||||
license=( 'ISC' )
|
||||
depends=( 'bash' )
|
||||
|
||||
source=( "https://git.fleshless.org/u/spark/ssm/snapshot/ssm-${pkgver}.tar.gz" )
|
||||
|
||||
package() {
|
||||
package_ssm() {
|
||||
depends=( 'bash' )
|
||||
|
||||
cd "${pkgname}-${pkgver}"
|
||||
install -Dm755 ssm "$pkgdir/usr/bin/ssm"
|
||||
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=('9a6dec0b55d156ecf4d5df5392acd3558d9318fb')
|
||||
|
|
Loading…
Reference in New Issue
Block a user