Hi all, Here's a little Bash script that converts a PKGBUILD (the equivalent of Pkgfile in Arch Linux) to Pkgfile, plus the md5sums and install scripts. Download all files in http://repos.archlinux.org/viewvc.cgi/[Package Name]/repos/core-i686/ to a folder, and run PKGBUILD2Pkgfile there. I wrote it as I migrated from Arch and had to convert all the custom PKGBUILDs. It should save you some time when the CRUX repos don't have a certain package, but Arch has. But be sure to double check the resulting Pkgfile. best, Colin
Colin Zheng wrote:
Hi all, Hi Here's a little Bash script that converts a PKGBUILD (the equivalent of Pkgfile in Arch Linux) to Pkgfile, plus the md5sums and install scripts.
Download all files in http://repos.archlinux.org/viewvc.cgi/[Package <http://repos.archlinux.org/viewvc.cgi/%5BPackage> Name]/repos/core-i686/ to a folder, and run PKGBUILD2Pkgfile there.
I wrote it as I migrated from Arch and had to convert all the custom
PKGBUILDs.
It should save you some time when the CRUX repos don't have a certain
package, but Arch has. But be sure to double check the resulting Pkgfile.
best, Colin I found little bug in the tags an Ctags arrays I believe there should be $PKG $SRC not $PKG $PKG, keep in mind that it's not easy to make 100% conversion between PKGBUILD => Pkgfile so still converted files needs reviewing and removing ugly "|| return 1" (optional).
Regards Bartek
participants (2)
-
Bartek Palmowski
-
Colin Zheng