You are not logged in.
Hi,
first attempt at creating a PKBUILD. Could somebody take a look and tell me if I'm doing anything wrong?
https://github.com/draptik/arch-package … n/PKGBUILD
README: https://github.com/draptik/arch-package … /README.md
Thanks
Last edited by draptik (2021-01-03 20:33:07)
Offline
The description shouldn't contain the package name.
Do you have a good reason for creating a -bin package instead of one which builds from source?
https://wiki.archlinux.org/index.php/Go … guidelines
Offline
thanks for the feedback @slithery !
Concerning your question why I create a "-bin" package: Since I've never created a PKGBUILD before I figured it would be easiest for a beginner like myself to use the provided binary from upstream. Building from source might just be my next step ;-)
Offline
source=("$url/releases/download/v${pkgver}/mob_v${pkgver}_linux_amd64.tar.gz"
"https://raw.githubusercontent.com/remotemobprogramming/mob/master/LICENSE")
The first source is only for x86_64, so it should be in source_x86_64=().
The second source needs to get a unique name or else any of thousands of packages might also try to download files named "LICENSE". Usually one would wish the LICENSE file to be shipped in the binary tarball, consider opening an upstream bug.
source_x86_64=("$url/releases/download/v${pkgver}/mob_v${pkgver}_linux_amd64.tar.gz")
source=("${pkgname}-${pkgver}-LICENSE::${url}/raw/${pkgver}/LICENSE")
Last edited by eschwartz (2021-01-04 04:43:54)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
@eschwartz Thanks for the pointers: Just published another release!
I'll see if can get upstream to add the license to the binary tarball.
Offline