40 lines
668 B
Bash
40 lines
668 B
Bash
pkgver=main
|
|
pkgname=lazybox
|
|
pkgrel=1
|
|
deps="busybox:toybox"
|
|
bad=""
|
|
ext="dev"
|
|
|
|
fetch() {
|
|
mkdir $pkgname-$pkgver
|
|
cp ../profile.sh .
|
|
cp ../motd .
|
|
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 -Dm644 ../motd $pkgdir/etc/
|
|
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
|
|
}
|