[aur-general] My -git package not updating
Dear Arch users, I have a big collection of wallpapers on gitlab. My friends suggested that I submit it to the AUR. I have created a PKGBUILD according to PKGBUILD-VCS.proto but my package doesn't update when I add a new wallpaper to it on my gitlab. Here is my pkgbuild: pkgname=nature-wallpapers-git pkgver=1.0 pkgrel=1 pkgdesc="Collection of nature wallpapers" arch=(any) url=" https://gitlab.com/winux1/nature-wallpapers.git/" license=('unknown') makedepends=('git') source=("git+$url") noextract=() md5sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD) " "$(git rev-parse --short HEAD)" } package() { cd "$srcdir/${pkgname%-git}" install -d "${pkgdir}/usr/share/backgrounds/nature-wallpapers" install -m644 *.jpg "${pkgdir}/usr/share/backgrounds/nature-wallpapers/" } What is wrong with it? Thanks for your help in advance
Am 10.03.2021 10:33, schrieb Barnabás Béres via aur-general:
What is wrong with it?
Nothing but your expectation. A package does not automatically rebuild, and vcs packages differ from stable packages just in where they fetch their source from. The latter builds a preset version, the former builds from the vcs tip. But never automated. I suggest reading up a bit on the archlinux mechanics on the wiki. G
Thanks for your help Georg. Sorry for the silly question but I am new to the concept of the aur. Barnabas Georg via aur-general <aur-general@lists.archlinux.org> ezt írta (időpont: 2021. márc. 10., Sze, 10:52):
Am 10.03.2021 10:33, schrieb Barnabás Béres via aur-general:
What is wrong with it?
Nothing but your expectation. A package does not automatically rebuild, and vcs packages differ from stable packages just in where they fetch their source from. The latter builds a preset version, the former builds from the vcs tip. But never automated. I suggest reading up a bit on the archlinux mechanics on the wiki.
G
Am 10.03.21 um 10:33 schrieb Barnabás Béres via aur-general:
What is wrong with it?
Nothing. There are AUR helpers that rebuild git-packages automatically, if needed. E.g. yay does it with the --devel option. (You need to run yay --gendb once before.)
participants (3)
-
Barnabás Béres
-
Georg
-
Markus Schaaf