iglunix: added doc

This commit is contained in:
Ella-0 2021-05-21 09:40:10 +01:00
parent 0568550a7a
commit 646e441078

View file

@ -3,7 +3,7 @@ pkgname=iglunix
pkgrel=1 pkgrel=1
deps="busybox:toybox" deps="busybox:toybox"
bad="" bad=""
ext="dev" ext="dev:doc"
fetch() { fetch() {
mkdir $pkgname-$pkgver mkdir $pkgname-$pkgver
@ -11,6 +11,7 @@ fetch() {
cp ../motd . cp ../motd .
cd $pkgname-$pkgver cd $pkgname-$pkgver
cp ../../../../iglu*.sh . cp ../../../../iglu*.sh .
cp ../../../../iglu.8 .
cp ../../../../LICENSE . cp ../../../../LICENSE .
} }
@ -34,6 +35,12 @@ package_dev() {
install -Dm755 iglupkg.sh $pkgdir/usr/bin/iglupkg install -Dm755 iglupkg.sh $pkgdir/usr/bin/iglupkg
} }
package_doc() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/share/man/man8
install -Dm644 iglu.8 $pkgdir/usr/share/man/man8
}
license() { license() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
cat LICENSE cat LICENSE