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