You are not logged in.
howdy guys,
after makepkg,
==> Removing info/doc files...
So. That's cool, but I want the docs. instead of putting them in "/user/share/doc/directory/" can I put them in something like "/opt/doc/directory/"?
If the answer is "yes," I don't know how to do that. with a *.install file? Would someone give me a clue, please?
thanks!
Offline
Read man PKGBUILD, look for the options array.
Offline
thanks, that's the ticket.
There is a typo in the man page, though. In the "docs" section of "options," it says, "If you wish to delete doc and info directories, specify "!docs" in the array." Shouldn't this read "If you do not wish...?"
Offline
I spoke too soon.
the options line as I have it had no effect. Also, I get a warning about not having a licence line even though I have one. here's the pkgbuild:
pkgname=newlisp
pkgver=9.2.9
pkgrel=1
pkgdesc="newLISP is a LISP like, general purpose scripting language."
url="http://www.newlisp.org"
depends=(glibc)
makedepends=()
conflicts=()
replaces=()
backup=()
licence=('GPL')
arch=('i686')
options=('!docs')
install=
source=(http://newlisp.org/downloads/development/$pkgname-$pkgver.tgz)
md5sums=('17bdd4fdc615fba7d3b31719db5b45e5')
build() {
cd $startdir/src/$pkgname-$pkgver
make linux_readline || return 1
mkdir -p $startdir/pkg/usr/{bin,man,share,opt}
mkdir -p $startdir/pkg/opt/doc/newlisp
mkdir -p $startdir/pkg/usr/man/man1
make bindir=$startdir/pkg/usr/bin mandir=$startdir/pkg/usr/man datadir=$startdir/pkg/usr/share install
}
Offline
To keep the docs it would be "option=('docs')".
Offline
Gah! and I misspelled "license" too. How embarrassing.
Thank you.
Offline