Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-mpc-plugin
Commits: a0e87c4a by Robin Candau at 2024-09-20T12:00:52+02:00 upgpkg: 0.5.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,15 +1,17 @@ pkgbase = xfce4-mpc-plugin pkgdesc = Control the Music Player Daemon from the Xfce4 panel pkgver = 0.5.3 - pkgrel = 2 - url = https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin + pkgrel = 3 + url = https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start arch = x86_64 groups = xfce4-goodies - license = BSD + license = BSD-1-Clause + makedepends = git makedepends = intltool + makedepends = xfce4-dev-tools depends = xfce4-panel depends = libmpd - source = https://archive.xfce.org/src/panel-plugins/xfce4-mpc-plugin/0.5/xfce4-mpc-plugin-0.5.3.tar.bz2 - sha256sums = 0467fb4d1acd982d3c3e0b89cb41019946850524ff19ed0f658a8d56c7b7664d + source = git+https://gitlab.xfce.org/panel-plugins/xfce4-mpc-plugin.git#tag=xfce4-mpc-plugin-0.5.3 + sha256sums = c161e1c227b841359f701a86dfe961abef12c1765bec469759d85dbc4754d7a5 pkgname = xfce4-mpc-plugin ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-mpc-plugin] +source = "git" +git = "https://gitlab.xfce.org/panel-plugins/xfce4-mpc-plugin.git" +prefix = "xfce4-mpc-plugin-" +exclude_regex = "0.*" ===================================== PKGBUILD ===================================== @@ -1,35 +1,38 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: Andreas Radke <[email protected]> # Contributor: aurelien <[email protected]> # Contributor: Tobias Kieslich <tobias (at) archlinux.org> pkgname=xfce4-mpc-plugin pkgver=0.5.3 -pkgrel=2 +pkgrel=3 pkgdesc="Control the Music Player Daemon from the Xfce4 panel" arch=('x86_64') -url="https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin" -license=('BSD') +url="https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start" +license=('BSD-1-Clause') groups=('xfce4-goodies') depends=('xfce4-panel' 'libmpd') -makedepends=('intltool') -source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('0467fb4d1acd982d3c3e0b89cb41019946850524ff19ed0f658a8d56c7b7664d') +makedepends=('git' 'intltool' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-mpc-plugin.git#tag=$pkgname-$pkgver") +sha256sums=('c161e1c227b841359f701a86dfe961abef12c1765bec469759d85dbc4754d7a5') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug - make } -package(){ - cd $pkgname-$pkgver +build() { + cd $pkgname + make +} +package() { + cd $pkgname make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-mpc-plugin/-/commit/a0e87c4a44b267b1ece0f94189c3b665e61dd86a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-mpc-plugin/-/commit/a0e87c4a44b267b1ece0f94189c3b665e61dd86a You're receiving this email because of your account on gitlab.archlinux.org.
