Hussam Al-Tayeb wrote:
> Last question.
> How do I modify the PKGBUILD so that it will patch using the 
> file 'patch-v1.diff' after it uncompresses the source tarball?
> Do I just add that under build() 
> patch -p0 < /path/to/patch-v1.diff
> ?
>
>   

Yes, add the patch command to the build(). You also need to list the 
patch in the source array, and provide an md5sum for it.

There are plenty of patched packages in the repos e.g. kernel26. Have a 
look at its PKGBUILD and you'll see how it's usually done.

> Also, how would I share my PKGBUILD for python 2.4.3 and tk/tcl 8.4.13 ?
>   

Post them here and/or in the forum.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to