git » appmenu-gtk-module.git » commit f1cfdc9

upgpkg: 24.05-1: Update to 24.05

author Antonio Rojas
2024-05-26 18:06:23 UTC
committer Antonio Rojas
2024-05-26 18:06:23 UTC
parent 5fba269376c8ac3af22ab48d0e181a25b19c001b

upgpkg: 24.05-1: Update to 24.05

.SRCINFO +8 -7
PKGBUILD +11 -7

diff --git a/.SRCINFO b/.SRCINFO
index 53c6e45..b4f5b59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
 pkgbase = appmenu-gtk-module
 	pkgdesc = Application Menu GTK+ Module
-	pkgver = 24.02
+	pkgver = 24.05
 	pkgrel = 1
 	url = https://gitlab.com/vala-panel-project/vala-panel-appmenu/
 	arch = x86_64
-	license = LGPL3
-	makedepends = meson
-	makedepends = gtk3
+	license = LGPL-3.0-only
+	makedepends = git
 	makedepends = gtk2
-	optdepends = gtk3: GTK3 module
+	makedepends = gtk3
+	makedepends = meson
 	optdepends = gtk2: GTK2 module
-	source = https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/24.02/vala-panel-appmenu-24.02.tar.gz
+	optdepends = gtk3: GTK3 module
+	source = git+https://gitlab.com/vala-panel-project/vala-panel-appmenu#tag=24.05
 	source = 80-appmenu-gtk-module.sh
-	sha256sums = 356f85078a370727a68477f89b2938766b567434fe3806c4807ede9eafcddde6
+	sha256sums = f4b3a9faffc374d60180e140686ec8d646c6492cfaebd4cedf35da646ae984e3
 	sha256sums = e8aff88851145085e24989cc99da9f631c593b506d0224225f3eb347d16c6455
 
 pkgname = appmenu-gtk-module
diff --git a/PKGBUILD b/PKGBUILD
index 2c84e16..b3aee06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,26 @@
 # Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com>
 
 pkgname=appmenu-gtk-module
-pkgver=24.02
+pkgver=24.05
 pkgrel=1
 pkgdesc="Application Menu GTK+ Module"
 depends=()
-makedepends=(meson gtk3 gtk2)
-optdepends=('gtk3: GTK3 module' 'gtk2: GTK2 module')
+makedepends=(git
+             gtk2
+             gtk3
+             meson)
+optdepends=('gtk2: GTK2 module'
+            'gtk3: GTK3 module')
 url="https://gitlab.com/vala-panel-project/vala-panel-appmenu/"
 arch=(x86_64)
-license=(LGPL3)
-source=("https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/$pkgver/vala-panel-appmenu-$pkgver.tar.gz"
+license=(LGPL-3.0-only)
+source=(git+https://gitlab.com/vala-panel-project/vala-panel-appmenu#tag=$pkgver
         80-appmenu-gtk-module.sh)
-sha256sums=('356f85078a370727a68477f89b2938766b567434fe3806c4807ede9eafcddde6'
+sha256sums=('f4b3a9faffc374d60180e140686ec8d646c6492cfaebd4cedf35da646ae984e3'
             'e8aff88851145085e24989cc99da9f631c593b506d0224225f3eb347d16c6455')
 
 build() {
-  meson build vala-panel-appmenu-$pkgver/subprojects/$pkgname \
+  meson build vala-panel-appmenu/subprojects/$pkgname \
     --prefix=/usr
   ninja -C build
 }