Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-clipman-plugin
Commits: 0f0446d7 by Robin Candau at 2024-09-18T13:25:06+02:00 upgpkg: 1.6.6-2 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,16 +1,20 @@ pkgbase = xfce4-clipman-plugin pkgdesc = A clipboard plugin for the Xfce4 panel pkgver = 1.6.6 - pkgrel = 1 - url = https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin + pkgrel = 2 + url = https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start arch = x86_64 groups = xfce4-goodies - license = GPL2 + license = GPL-2.0-or-later + makedepends = git makedepends = intltool + makedepends = xfce4-dev-tools depends = xfce4-panel depends = libxtst depends = qrencode - source = https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/1.6/xfce4-clipman-plugin-1.6.6.tar.bz2 - sha256sums = 08ad475b006f878df5dd20d83c98edc33ed21e69b414d0e5ff6d4accd64d7120 + source = git+https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin.git#tag=xfce4-clipman-plugin-1.6.6 + source = git+https://gitlab.freedesktop.org/wlroots/wlr-protocols.git + sha256sums = d3e4b6a7ecbbe7657c0ef7bb277bf07a034ae6506c81155289149d0f689fa097 + sha256sums = SKIP pkgname = xfce4-clipman-plugin ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-clipman-plugin] +source = "git" +git = "https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin.git" +prefix = "xfce4-clipman-plugin-" +exclude_regex = "0.*|1.*" ===================================== PKGBUILD ===================================== @@ -1,33 +1,42 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: tobias <tobias at archlinux.org> # Contributor: Aurelien Foret <[email protected]> pkgname=xfce4-clipman-plugin pkgver=1.6.6 -pkgrel=1 +pkgrel=2 pkgdesc="A clipboard plugin for the Xfce4 panel" arch=('x86_64') -license=('GPL2') -url="https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin" +license=('GPL-2.0-or-later') +url="https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start" groups=('xfce4-goodies') depends=('xfce4-panel' 'libxtst' 'qrencode') -makedepends=('intltool') -source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('08ad475b006f878df5dd20d83c98edc33ed21e69b414d0e5ff6d4accd64d7120') +makedepends=('git' 'intltool' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin.git#tag=$pkgname-$pkgver" + git+https://gitlab.freedesktop.org/wlroots/wlr-protocols.git) +sha256sums=('d3e4b6a7ecbbe7657c0ef7bb277bf07a034ae6506c81155289149d0f689fa097' + 'SKIP') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + git submodule init + git config submodule.mate-submodules.url "$srcdir/protocols/wlr-protocols" + git -c protocol.file.allow=always submodule update + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug +} + +build() { + cd $pkgname make } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-clipman-plugin/-/commit/0f0446d7028ad0db31c6f00cbdd68d30d243f138 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-clipman-plugin/-/commit/0f0446d7028ad0db31c6f00cbdd68d30d243f138 You're receiving this email because of your account on gitlab.archlinux.org.
