libqmlbind icon indicating copy to clipboard operation
libqmlbind copied to clipboard

Publish to package managers

Open seanchas116 opened this issue 9 years ago • 10 comments

Publishing libqmlbind to package managers would make installation a lot easier.

seanchas116 avatar Apr 04 '16 01:04 seanchas116

I've an Arch Linux PKGBUILD here, I could publish it to AUR repo (I've to learn how to do it first).

rainbyte avatar Apr 04 '16 03:04 rainbyte

@rainbyte nice! The PKGBUILD seems fine for me.

Publishing to AUR is as simple as something like this:

makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO
git commit
git remote add aur git+ssh://[email protected]/libqmlbind.git
git fetch aur
git push

See https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packages

Not sure whether the package should be called libqmlbind or qmlbind though, depending on the generated directory structure.

florianjacob avatar Apr 04 '16 06:04 florianjacob

In Mac, libqmlbind is now installable via Homebrew :package: (https://github.com/seanchas116/libqmlbind#mac--homebrew)

seanchas116 avatar Apr 06 '16 04:04 seanchas116

Arch Linux AUR Packages available in 2 versions: v0.1.0 and git master

rainbyte avatar Apr 07 '16 11:04 rainbyte

@rainbyte just tested the installation of both of them, nicely done. :)

florianjacob avatar Apr 07 '16 17:04 florianjacob

Just added the AUR links to the readme. :+1:

florianjacob avatar Apr 07 '16 18:04 florianjacob

@rainbyte something seems to be broken with the git version of the AUR package, every time I update the AUR, it recompiles libqmlbind and thinks there's an update:

==> Software upgrade (new version) :
aur/libqmlbind-git    v0.2.0.17.g7e94662-1 -> 9242442-1

Maybe the pkgver() function has an error? https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function

florianjacob avatar Jun 11 '16 13:06 florianjacob

@florianjacob I'll see what's happening. Thanks for letting me know.

rainbyte avatar Jun 11 '16 20:06 rainbyte

Problem solved, I just forgot to update the .SRCINFO

rainbyte avatar Jun 11 '16 22:06 rainbyte

@rainbyte thanks! :+1:

florianjacob avatar Jun 11 '16 23:06 florianjacob