Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / libxfce4ui
Commits: d8977bd7 by Robin Candau at 2024-09-17T22:59:41+02:00 upgpkg: 4.18.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 check() - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,16 @@ pkgbase = libxfce4ui pkgdesc = Widgets library for the Xfce desktop environment pkgver = 4.18.6 - pkgrel = 1 - url = https://www.xfce.org/ + pkgrel = 2 + url = https://docs.xfce.org/xfce/libxfce4ui/start arch = x86_64 - license = GPL2 + license = GPL-2.0-only + makedepends = git + makedepends = glib2-devel makedepends = intltool makedepends = gobject-introspection makedepends = vala + makedepends = xfce4-dev-tools depends = libxfce4util depends = gtk3 depends = xfconf @@ -16,7 +19,7 @@ pkgbase = libxfce4ui depends = libgtop depends = libepoxy depends = hicolor-icon-theme - source = https://archive.xfce.org/src/xfce/libxfce4ui/4.18/libxfce4ui-4.18.6.tar.bz2 - sha256sums = 77dd99206cc8c6c7f69c269c83c7ee6a037bca9d4a89b1a6d9765e5a09ce30cd + source = git+https://gitlab.xfce.org/xfce/libxfce4ui.git#tag=libxfce4ui-4.18.6 + sha256sums = ed51a4cffc40dc2688c949b87b55b0aef916f18c39f90565068fa0a9b2c366e3 pkgname = libxfce4ui ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[libxfce4ui] +source = "git" +git = "https://gitlab.xfce.org/xfce/libxfce4ui.git" +prefix = "libxfce4ui-" +exclude_regex = 'xfce-.*|.*pre.*|libxfce4ui-4\.[12][13579]\.[0-9]+' ===================================== PKGBUILD ===================================== @@ -1,33 +1,46 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: Xavier Devlamynck <[email protected]> pkgname=libxfce4ui pkgver=4.18.6 -pkgrel=1 +pkgrel=2 pkgdesc="Widgets library for the Xfce desktop environment" arch=('x86_64') -url="https://www.xfce.org/" -license=('GPL2') +url="https://docs.xfce.org/xfce/libxfce4ui/start" +license=('GPL-2.0-only') depends=('libxfce4util' 'gtk3' 'xfconf' 'libsm' 'startup-notification' 'libgtop' 'libepoxy' 'hicolor-icon-theme') -makedepends=('intltool' 'gobject-introspection' 'vala') -source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('77dd99206cc8c6c7f69c269c83c7ee6a037bca9d4a89b1a6d9765e5a09ce30cd') +makedepends=('git' 'glib2-devel' 'intltool' 'gobject-introspection' 'vala' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/xfce/libxfce4ui.git#tag=$pkgname-$pkgver") +sha256sums=('ed51a4cffc40dc2688c949b87b55b0aef916f18c39f90565068fa0a9b2c366e3') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --target=$CTARGET \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug \ + --enable-gtk-doc \ --with-vendor-info='Arch Linux' +} + +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/libxfce4ui/-/commit/d8977bd73ead5f06a74bfd8c9905c8b5cdec9529 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libxfce4ui/-/commit/d8977bd73ead5f06a74bfd8c9905c8b5cdec9529 You're receiving this email because of your account on gitlab.archlinux.org.
