2021-01-02 18:37:56 +00:00
|
|
|
pkgver=main
|
|
|
|
pkgname=lazybox
|
|
|
|
pkgrel=1
|
2021-01-31 11:09:14 +00:00
|
|
|
deps="busybox:toybox"
|
2021-01-02 18:37:56 +00:00
|
|
|
bad=""
|
|
|
|
ext="dev"
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
mkdir $pkgname-$pkgver
|
2021-02-03 15:33:53 +00:00
|
|
|
cp ../profile.sh .
|
2021-01-02 18:37:56 +00:00
|
|
|
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
|
2021-01-12 11:06:46 +00:00
|
|
|
install -Dm755 lazy.sh $pkgdir/usr/sbin/lazy
|
2021-01-02 18:37:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_dev() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-31 14:39:32 +00:00
|
|
|
install -d $pkgdir/usr/bin
|
2021-01-12 11:06:46 +00:00
|
|
|
install -Dm755 lazypkg.sh $pkgdir/usr/bin/lazypkg
|
2021-01-02 18:37:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
}
|