Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-weather-plugin
Commits: d8db41af by Robin Candau at 2024-09-21T00:12:56+02:00 upgpkg: 0.11.2-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,17 +1,19 @@ pkgbase = xfce4-weather-plugin pkgdesc = A weather plugin for the Xfce4 panel pkgver = 0.11.2 - pkgrel = 1 - url = https://docs.xfce.org/panel-plugins/xfce4-weather-plugin + pkgrel = 2 + url = https://docs.xfce.org/panel-plugins/xfce4-weather-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 = libxml2 depends = libsoup depends = hicolor-icon-theme - source = https://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.11/xfce4-weather-plugin-0.11.2.tar.bz2 - sha256sums = 65d40aff7863550858a9f9d2b6054f27c69a3e7e712991785987f9a73bba876b + source = git+https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin.git#tag=xfce4-weather-plugin-0.11.2 + sha256sums = 47c87d44bfc5ec17861e8ef596317c09f782f170af7f6dd362d2d27c23778eb3 pkgname = xfce4-weather-plugin ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-weather-plugin] +source = "git" +git = "https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin.git" +prefix = "xfce4-weather-plugin-" +exclude_regex = "0.*|.*master.*" ===================================== PKGBUILD ===================================== @@ -1,33 +1,37 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: Suzy Williams <[email protected]> pkgname=xfce4-weather-plugin pkgver=0.11.2 -pkgrel=1 +pkgrel=2 pkgdesc="A weather plugin for the Xfce4 panel" arch=('x86_64') -url="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin" -license=('GPL2') +url="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin/start" +license=('GPL-2.0-or-later') groups=('xfce4-goodies') depends=('xfce4-panel' 'libxml2' 'libsoup' 'hicolor-icon-theme') -makedepends=('intltool') -source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('65d40aff7863550858a9f9d2b6054f27c69a3e7e712991785987f9a73bba876b') +makedepends=('git' 'intltool' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin.git#tag=$pkgname-$pkgver") +sha256sums=('47c87d44bfc5ec17861e8ef596317c09f782f170af7f6dd362d2d27c23778eb3') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug \ --disable-upower +} + +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-weather-plugin/-/commit/d8db41af687a6fe32e4805fa59a1869ed1fb223e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-weather-plugin/-/commit/d8db41af687a6fe32e4805fa59a1869ed1fb223e You're receiving this email because of your account on gitlab.archlinux.org.
