Files
binary-repo/app/containers/lsl/ympbuild
T
2024-10-19 17:12:51 +00:00

34 lines
809 B
Bash

#!/usr/bin/env bash
name='lsl'
release='1'
version='1.0.1'
url='https://sulincix/debian-subsystem'
description='Linux subsystem for linux'
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
source=("https://gitlab.com/sulincix/debian-subsystem/-/archive/1.0.1/debian-subsystem-$version.tar.gz"
"lsl.sysconf")
depends=(pam make perl)
makedepends=()
sha256sums=('c32c2f3ff15ff39ce0ecca851f1f2920985b9fd855e83d20282be7640abc3658'
'SKIP')
group=(app.container)
uses=()
arch=('x86_64')
cd debian-subsystem-$version
build () {
# parallel job build and install is not supported.
make
}
package () {
make install DESTDIR=$DESTDIR DISTRO=debian
# install sysconf file
mkdir -p $DESTDIR/etc/sysconf.d/
install ../lsl.sysconf $DESTDIR/etc/sysconf.d/lsl
}