Coder Social home page Coder Social logo

Comments (4)

dfireBird avatar dfireBird commented on May 24, 2024

If I should place the PKGBUILD file for Arch linux where should I place it? Should I create a new folder or somewhere preferable?

from hoard.

Hyde46 avatar Hyde46 commented on May 24, 2024

Assuming more and more installation possibilities will be added, an automatic way would be the way to go.
I think one way would be to create a GitHub action which builds the image and packs it as PKGBUILD and makes it available through pacman and/or make it available on AUR . Alternatively, we can also generate prebuilt binaries to download.
Currently, i'm still building .deb packages by hand and attach them to each release. However, the automatic building would be much preferred.
Since I've never used Archlinux, I still need to research more about how to best tackle the publishing

from hoard.

dfireBird avatar dfireBird commented on May 24, 2024

So PKGBUILD is a package description file, which makepkg uses to build the .tar.zst file, similar to .deb in Debian and pacman can be used to install that package using the .tar.zst file.

So the AUR hosts the PKGBUILD file, which people download and use it to install the package. If you want only to publish to AUR, you don't need the PKGBUILD file in the repo, but if you want provide the package (i.e the tar.zst file) in releases of github using github actions, it's easier to have the PKGBUILD file in the repo.

I still need to research more about on how to publish your package to AUR.
Edit: This article explains it neatly I think, it's better to link it than I explaining it.

from hoard.

Hyde46 avatar Hyde46 commented on May 24, 2024

Closing for now

from hoard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.