To Abhishek, Thank you for answering. However, I can't make $srcdir/LICENSE since the license is not included in their source. I made it copying it from their web. *Then, how I can move LICENSE without using $startdir?* I can do ../$srcdir but that seems even worse I see in some packages that in their source array include simply LICENSE plus the real source. I guess the file LICENSE located in the package tarball is fetched and then included in the src, but I don't see any documentation about this in the wiki. 2009/4/12 Abhishek Dasgupta <abhidg@gmail.com>
I have just updated and started to maintain the python-apsw package (the current version in AUR was from Oct 2007, when the last version is from Feb 2009)
This package is needed for the tribler package (bittorrent client)
Please let me know if you use this library and therefore whether the
2009/4/12 Juan Miguel Cejuela <jmcejuela@gmail.com>: package
is useful.
And of course, give me any suggestion for the PKGBUILD since this is my first package I submit.
Have a good day!!
The PKGBUILD looks OK, just use $srcdir and $pkgdir since $startdir is not guaranteed to remain around.
So the build() function would be: build() { cd $srcdir/apsw-3.6.11-r1 python setup.py install --root=$pkgdir/
install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE }
-- Abhishek
-- Juan Miguel Cejuela ~http://www.ashrentum.net [My Homepage] ~http://www.ashrentum.net/lachanza [Colección de Chistes en Español]