You are not logged in.
Hello guys!
I need to modify vlc package before installing it. So I downloaded TAR.XZ from repos.
Then unpacked it:
tar -xvf vlc...
Modified .PKGINFO to remove one dependency.
And packed it:
tar -cvf vlc-for-arch.tar *
xz vlc-for-arch.tar
And I got TAR.XZ package.
Now I can't install it because:
error: missing package metadata in /home/alex/downloads/vlc/vlc-for-arch.tar.xz
error: '/home/alex/downloads/vlc/vlc-for-arch.tar.xz': invalid or corrupted package
How do I pack this package for installation?
Or maybe there's an easier way to merely modify PKGINFO?
Last edited by Mr. Alex (2012-03-24 15:51:03)
Offline
I would try using the abs to achieve this. I think that using something like abs extra/vlc then copying it to a builds folder, make changes, makepkg then install should be your best bet, read up on the abs on the wiki: https://wiki.archlinux.org/index.php/ABS
Offline
"tar -cvf vlc-for-arch.tar *" does not include .PKGINFO.
Offline
I would try using the abs to achieve this.
To me compiling from source is way more complicated. I prefer to repack it.
Last edited by Mr. Alex (2012-03-24 16:07:18)
Offline
"tar -cvf vlc-for-arch.tar *" does not include .PKGINFO.
Thanks. I didn't think about specifing hidden files.
tar -cvf vlc-for-arch usr .INSTALL .PKGINFO
Last edited by Mr. Alex (2012-03-24 16:07:43)
Offline