Morten Linderud pushed to branch main at Arch Linux / Packaging / Packages / 
incus


Commits:
e30efec4 by Morten Linderud at 2024-02-23T20:06:02+01:00
upgpkg: 0.6.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = incus
        pkgdesc = Powerful system container and virtual machine manager
-       pkgver = 0.5.1
+       pkgver = 0.6.0
        pkgrel = 1
        url = https://linuxcontainers.org/incus/
        arch = x86_64
@@ -35,15 +35,15 @@ pkgbase = incus
        optdepends = systemd-libs: unix device hotplug support
        optdepends = apparmor: apparmor support
        optdepends = xdelta3: support delta downloads of images
-       source = 
https://github.com/lxc/incus/releases/download/v0.5.1/incus-0.5.1.tar.xz
-       source = 
https://github.com/lxc/incus/releases/download/v0.5.1/incus-0.5.1.tar.xz.asc
+       source = https://linuxcontainers.org/downloads/incus/incus-v0.6.0.tar.xz
+       source = 
https://linuxcontainers.org/downloads/incus/incus-v0.6.0.tar.xz.asc
        source = incus.socket
        source = incus.service
        source = incus-user.socket
        source = incus-user.service
        source = incus.sysusers
        validpgpkeys = 602F567663E593BCBD14F338C638974D64792D67
-       sha256sums = 
99621ccf3f9edc10203ec29290f6686fcfd5e71be8fa9155dec051d3ff00d9f1
+       sha256sums = 
dd79abc494bcbce3f5e63a3d26176ce55910da6499f69d563f57066c6f742f80
        sha256sums = SKIP
        sha256sums = 
602a8035cc51b8e0c4ca265e31ebf96c7977db4239d384d8f60fed0d2d0317c4
        sha256sums = 
646b0a9b38954890bc8706b41dfb93c7fdc83cbee1a3632c7258d77a1fddd725


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 
 pkgbase=incus
 pkgname=(incus incus-tools)
-pkgver=0.5.1
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="Powerful system container and virtual machine manager"
 arch=('x86_64')
@@ -30,7 +30,7 @@ optdepends=(
     'apparmor: apparmor support'
     'xdelta3: support delta downloads of images'
 )
-source=("https://github.com/lxc/incus/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+source=("https://linuxcontainers.org/downloads/incus/incus-v$pkgver.tar.xz"{,.asc}
         "incus.socket"
         "incus.service"
         "incus-user.socket"
@@ -38,7 +38,7 @@ 
source=("https://github.com/lxc/incus/releases/download/v${pkgver}/${pkgname}-${
         "incus.sysusers")
 validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67'  # Stéphane Graber 
<stgra...@stgraber.org>
              )
-sha256sums=('99621ccf3f9edc10203ec29290f6686fcfd5e71be8fa9155dec051d3ff00d9f1'
+sha256sums=('dd79abc494bcbce3f5e63a3d26176ce55910da6499f69d563f57066c6f742f80'
             'SKIP'
             '602a8035cc51b8e0c4ca265e31ebf96c7977db4239d384d8f60fed0d2d0317c4'
             '646b0a9b38954890bc8706b41dfb93c7fdc83cbee1a3632c7258d77a1fddd725'
@@ -47,14 +47,14 @@ 
sha256sums=('99621ccf3f9edc10203ec29290f6686fcfd5e71be8fa9155dec051d3ff00d9f1'
             '90beead5dbde947936a58df8773519c49d92a2028881ae0ec81ee5402510e39a')
 
 prepare() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgbase-${pkgver%.0}"
 
   mkdir bin
   go mod verify
 }
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgbase-${pkgver%.0}"
 
   export GOFLAGS="-buildmode=pie -modcacherw"
   export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
@@ -74,7 +74,7 @@ build() {
 }
 
 package_incus() {
-  cd "$pkgbase-$pkgver"
+  cd "$pkgbase-${pkgver%.0}"
 
   for tool in incus incusd incus-agent incus-user lxd-to-incus; do
     install -v -p -Dm755 "bin/$tool" "${pkgdir}/usr/bin/$tool"
@@ -102,7 +102,7 @@ package_incus() {
 
 package_incus-tools() {
   conflicts=('lxd')
-  cd "$pkgbase-$pkgver"
+  cd "$pkgbase-${pkgver%.0}"
   for tool in fuidshift lxc-to-incus incus-benchmark; do
     install -v -p -Dm755 "bin/$tool" "${pkgdir}/usr/bin/$tool"
   done



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/incus/-/commit/e30efec46a32f851ebab8f871be119317a2db80c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/incus/-/commit/e30efec46a32f851ebab8f871be119317a2db80c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to