Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-xkb-plugin
Commits: af759b18 by Robin Candau at 2024-09-21T00:29:24+02:00 upgpkg: 0.8.3-3 Overall rework of the PKGBUILD Context: https://archlinux.org/todo/general-xfce-packages-rework/ - Update URL (point to upstream doc webpage for the package) - Use SPDX identifier for the license - Switch to a more transparent source (git sources) - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,20 +1,22 @@ pkgbase = xfce4-xkb-plugin pkgdesc = Plugin to switch keyboard layouts for the Xfce4 panel pkgver = 0.8.3 - pkgrel = 2 - url = https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin + pkgrel = 3 + url = https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin/start install = xfce4-xkb-plugin.install arch = x86_64 groups = xfce4-goodies - license = custom + license = GPL-2.0-or-later + makedepends = git makedepends = intltool + makedepends = xfce4-dev-tools depends = xfce4-panel depends = libxklavier depends = librsvg depends = libwnck3 depends = libnotify optdepends = xfce4-notifyd: show notifications on layout change - source = https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/0.8/xfce4-xkb-plugin-0.8.3.tar.bz2 - sha256sums = f0bfe97875ef1ca0a3b6a6fac312663c9cada151cf1ac96071393d320cd04987 + source = git+https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin.git#tag=xfce4-xkb-plugin-0.8.3 + sha256sums = 39c9c375d4ad91a7a0505fce260b1495321fa0d5e5e1d4d1e55d564b0ddd6166 pkgname = xfce4-xkb-plugin ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-xkb-plugin] +source = "git" +git = "https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin.git" +prefix = "xfce4-xkb-plugin-" +exclude_regex = "0.*|V.*" ===================================== PKGBUILD ===================================== @@ -1,39 +1,42 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: AndyRTR <[email protected]> # Contributor: Tobias Kieslich <tobias (at) archlinux.org> pkgname=xfce4-xkb-plugin pkgver=0.8.3 -pkgrel=2 +pkgrel=3 pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel" arch=('x86_64') -url="https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin" -license=('custom') +url="https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin/start" +license=('GPL-2.0-or-later') groups=('xfce4-goodies') depends=('xfce4-panel' 'libxklavier' 'librsvg' 'libwnck3' 'libnotify') -makedepends=('intltool') +makedepends=('git' 'intltool' 'xfce4-dev-tools') optdepends=('xfce4-notifyd: show notifications on layout change') install=$pkgname.install -source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('f0bfe97875ef1ca0a3b6a6fac312663c9cada151cf1ac96071393d320cd04987') +source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin.git#tag=$pkgname-$pkgver") +sha256sums=('39c9c375d4ad91a7a0505fce260b1495321fa0d5e5e1d4d1e55d564b0ddd6166') -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --disable-debug +} + +build() { + cd $pkgname make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } # vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-xkb-plugin/-/commit/af759b18e256efd86eb8c13f9c74947099e4b878 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-xkb-plugin/-/commit/af759b18e256efd86eb8c13f9c74947099e4b878 You're receiving this email because of your account on gitlab.archlinux.org.
