iglunix/pkgs/lazybox/build.sh
2021-02-03 15:33:53 +00:00

38 lines
617 B
Bash

pkgver=main
pkgname=lazybox
pkgrel=1
deps="busybox:toybox"
bad=""
ext="dev"
fetch() {
mkdir $pkgname-$pkgver
cp ../profile.sh .
cd $pkgname-$pkgver
cp ../../../../lazy*.sh .
cp ../../../../LICENSE .
}
build() {
cd $pkgname-$pkgver
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/etc/
install -Dm644 ../profile.sh $pkgdir/etc/profile
install -d $pkgdir/usr/sbin
install -Dm755 lazy.sh $pkgdir/usr/sbin/lazy
}
package_dev() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 lazypkg.sh $pkgdir/usr/bin/lazypkg
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}