iglunix/pkgs/lazybox/build.sh

39 lines
617 B
Bash
Raw Normal View History

pkgver=main
pkgname=lazybox
pkgrel=1
2021-01-31 11:09:14 +00:00
deps="busybox:toybox"
bad=""
ext="dev"
fetch() {
mkdir $pkgname-$pkgver
2021-02-03 15:33:53 +00:00
cp ../profile.sh .
cd $pkgname-$pkgver
cp ../../../../lazy*.sh .
cp ../../../../LICENSE .
}
build() {
cd $pkgname-$pkgver
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
2021-02-03 15:33:53 +00:00
install -d $pkgdir/etc/
install -Dm644 ../profile.sh $pkgdir/etc/profile
2021-01-31 14:39:32 +00:00
install -d $pkgdir/usr/sbin
install -Dm755 lazy.sh $pkgdir/usr/sbin/lazy
}
package_dev() {
cd $pkgname-$pkgver
2021-01-31 14:39:32 +00:00
install -d $pkgdir/usr/bin
install -Dm755 lazypkg.sh $pkgdir/usr/bin/lazypkg
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}