32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
fi
cd "$srcdir/libk"
arch=$kind ./build.sh
}
package() {
export fakeroot=yes prefix="$pkgdir" build="$srcdir/$pkgname/out"
"$srcdir/$pkgname/install.sh"
# if test "$doc" = yes; then
# install -D "$srcdir/$pkgname/out/doc/html/"* -t "$pkgdir/usr/share/doc/libk/pdf/"
# install -D "$srcdir/$pkgname/out/doc/pdf/"* -t "$pkgdir/usr/share/doc/libk/html/"
# install -D "$srcdir/$pkgname/out/doc/man/"* -t "$pkgdir/usr/share/man/man3/"
# fi
#
# install -D "$srcdir/$pkgname"/out/{libk.{so,a},kboot.o} -t "$pkgdir/usr/lib/"
# install -D "$srcdir/$pkgname/out/k/"* -t "$pkgdir/usr/include/k/"
}
|
|
32
33
34
35
36
37
38
39
40
41
|
fi
cd "$srcdir/libk"
arch=$kind ./build.sh
}
package() {
export prefix="$pkgdir/usr" build="$srcdir/$pkgname/out"
cd "$srcdir/$pkgname" && install.sh
}
|