Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-panel
Commits: 531b9e0c by Robin Candau at 2024-09-20T13:02:55+02:00 upgpkg: 4.18.6-2 Overall rework of the PKGBUILD Context: https://archlinux.org/todo/general-xfce-packages-rework/ - Use SPDX identifier for the license - Switch to a more transparent source (git sources) - Add check() - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,14 +1,17 @@ pkgbase = xfce4-panel pkgdesc = Panel for the Xfce desktop environment pkgver = 4.18.6 - pkgrel = 1 + pkgrel = 2 url = https://docs.xfce.org/xfce/xfce4-panel/start arch = x86_64 groups = xfce4 - license = GPL2 + license = LGPL-2.1-only + makedepends = git + makedepends = glib2-devel makedepends = intltool makedepends = gobject-introspection makedepends = vala + makedepends = xfce4-dev-tools depends = exo depends = garcon depends = libxfce4ui @@ -17,7 +20,7 @@ pkgbase = xfce4-panel depends = libdbusmenu-gtk3 depends = hicolor-icon-theme depends = desktop-file-utils - source = https://archive.xfce.org/src/xfce/xfce4-panel/4.18/xfce4-panel-4.18.6.tar.bz2 - sha256sums = 21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62 + source = git+https://gitlab.xfce.org/xfce/xfce4-panel.git#tag=xfce4-panel-4.18.6 + sha256sums = 591a9c3e4102fb35e2420cb669a9ce6a4941125aa0986aa41315fa5bff3182ef pkgname = xfce4-panel ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-panel] +source = "git" +git = "https://gitlab.xfce.org/xfce/xfce4-panel.git" +prefix = "xfce4-panel-" +exclude_regex = 'xfce4-panel-4\.[12][13579]\.[0-9]+' ===================================== PKGBUILD ===================================== @@ -1,34 +1,44 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: tobias <tobias funnychar archlinux.org> pkgname=xfce4-panel pkgver=4.18.6 -pkgrel=1 +pkgrel=2 pkgdesc="Panel for the Xfce desktop environment" arch=('x86_64') url="https://docs.xfce.org/xfce/xfce4-panel/start" -license=('GPL2') +license=('LGPL-2.1-only') groups=('xfce4') depends=('exo' 'garcon' 'libxfce4ui' 'xfconf' 'libwnck3' 'libdbusmenu-gtk3' 'hicolor-icon-theme' 'desktop-file-utils') -makedepends=('intltool' 'gobject-introspection' 'vala') -source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62') +makedepends=('git' 'glib2-devel' 'intltool' 'gobject-introspection' 'vala' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/xfce/xfce4-panel.git#tag=$pkgname-$pkgver") +sha256sums=('591a9c3e4102fb35e2420cb669a9ce6a4941125aa0986aa41315fa5bff3182ef') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-gio-unix \ + --enable-gtk-doc \ --disable-debug +} + +build() { + cd $pkgname make } +check() { + cd $pkgname + make check +} + package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-panel/-/commit/531b9e0cd6b4aef585ce3fe61edc2cfdfc4125ef -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-panel/-/commit/531b9e0cd6b4aef585ce3fe61edc2cfdfc4125ef You're receiving this email because of your account on gitlab.archlinux.org.
