You are not logged in.
Hi all,
Supposing I downloaded a binary release of some project from a website, what would be the best way to keep track of all of the files using the package manager? I'm new to PKGBUILDs and such, but my first thought was to write a PKGBUILD with the package information and only a package() step. Is there a better way? Am I way off? Any help is appreciated! Thanks!
Offline
Am I way off?
Nope, you're right on. Dependencies are usually the hardest part of this type of PKGBUILD.
Last edited by Scimmia (2014-01-02 21:15:53)
Offline
Excellent, thanks for the quick reply!
Another quick/semi-related question, if I have a working copy of a project's source that I modify constantly, how would I manage/update the resulting binaries with the package manager? Perhaps similar to above, but including a build() step, then building the project using makepkg? Or I suppose I could just do exactly the same as above and run makepkg after it's built, but it made sense to me to bundle the building in with the PKGBUILD.
Offline
The solution to each is makepkg and a PKGBUILD. If prebuilt, it will just get packaged, if from source, it will get built and packaged.
Examples: mprime-bin and mprime (although mprime is not the cleanest example due to odd upstream requirements). Check the AUR for them both to see the corresponding PKBUILD for each.
Offline
Perfect, I'm glad that makes sense to me. Thanks for the examples!
Offline