Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-dev-tools
Commits: 75617c63 by Robin Candau at 2024-09-13T09:54:02+02:00 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,15 +1,16 @@ pkgbase = xfce4-dev-tools pkgdesc = Xfce developer tools pkgver = 4.18.1 - pkgrel = 1 - url = https://www.xfce.org/ + pkgrel = 2 + url = https://docs.xfce.org/xfce/xfce4-dev-tools/start arch = x86_64 - license = GPL2 + license = GPL-2.0-or-later + makedepends = git depends = glib2 depends = intltool depends = gtk-doc optdepends = docker: xfce-build helper script - source = https://archive.xfce.org/src/xfce/xfce4-dev-tools/4.18/xfce4-dev-tools-4.18.1.tar.bz2 - sha256sums = 812cabe7048922ebc176564b73c3e427e467c9566365ee3e54c0487d305a7681 + source = git+https://gitlab.xfce.org/xfce/xfce4-dev-tools.git#tag=xfce4-dev-tools-4.18.1 + sha256sums = 29a978213b54fd02e532ee955513a6775be3652aa192893fe20c9da333843927 pkgname = xfce4-dev-tools ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-dev-tools] +source = "git" +git = "https://gitlab.xfce.org/xfce/xfce4-dev-tools.git" +prefix = "xfce4-dev-tools-" +exclude_regex = 'xfce4-dev-tools-4\.[12][13579]\.[0-9]+' # 4.19.x, 4.21.x, etc. ===================================== PKGBUILD ===================================== @@ -1,31 +1,41 @@ # Maintainer: Evangelos Foutras <foutre...@archlinux.org> +# Maintainer: Robin Candau <an...@archlinux.org> # Contributor: Andreas Radke <andy...@archlinux.org> # Contributor: Tobias Kieslich <tobias funnychar archlinux.org> pkgname=xfce4-dev-tools pkgver=4.18.1 -pkgrel=1 +pkgrel=2 pkgdesc="Xfce developer tools" arch=('x86_64') -url="https://www.xfce.org/" -license=('GPL2') +url="https://docs.xfce.org/xfce/xfce4-dev-tools/start" +license=('GPL-2.0-or-later') depends=('glib2' 'intltool' 'gtk-doc') +makedepends=('git') optdepends=('docker: xfce-build helper script') -source=(https://archive.xfce.org/src/xfce/xfce4-dev-tools/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('812cabe7048922ebc176564b73c3e427e467c9566365ee3e54c0487d305a7681') +source=("git+https://gitlab.xfce.org/xfce/xfce4-dev-tools.git#tag=$pkgname-$pkgver") +sha256sums=('29a978213b54fd02e532ee955513a6775be3652aa192893fe20c9da333843927') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var +} + +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-dev-tools/-/commit/75617c638d1b20d8705e456f7630ed869be4b605 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-dev-tools/-/commit/75617c638d1b20d8705e456f7630ed869be4b605 You're receiving this email because of your account on gitlab.archlinux.org.