Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / garcon
Commits: f44f6dfa by Robin Candau at 2024-09-17T22:47:20+02:00 upgpkg: 4.18.2-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 nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,19 @@ pkgbase = garcon pkgdesc = Freedesktop.org compliant menu library pkgver = 4.18.2 - pkgrel = 1 + pkgrel = 2 url = https://docs.xfce.org/xfce/garcon/start arch = x86_64 groups = xfce4 - license = LGPL + license = LGPL-2.0-only + makedepends = git + makedepends = glib2-devel makedepends = intltool makedepends = python makedepends = gobject-introspection + makedepends = xfce4-dev-tools depends = libxfce4ui - source = https://archive.xfce.org/src/xfce/garcon/4.18/garcon-4.18.2.tar.bz2 - sha256sums = 1b8c9292e131968fbfc8987bbc62c5ba47186dd45ef4e47c5d8c5088bb2d434d + source = git+https://gitlab.xfce.org/xfce/garcon.git#tag=garcon-4.18.2 + sha256sums = 488ff7e9631395cdf4a607b606fe87f1e8c6d9c16c465330379447bb28876269 pkgname = garcon ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[garcon] +source = "git" +git = "https://gitlab.xfce.org/xfce/garcon.git" +prefix = "garcon-" +exclude_regex = 'xfce-.*|.*pre.*|garcon-4\.[12][13579]\.[0-9]+' ===================================== PKGBUILD ===================================== @@ -1,32 +1,37 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: Xavier Devlamynck <[email protected]> pkgname=garcon pkgver=4.18.2 -pkgrel=1 +pkgrel=2 pkgdesc="Freedesktop.org compliant menu library" arch=('x86_64') url="https://docs.xfce.org/xfce/garcon/start" -license=('LGPL') +license=('LGPL-2.0-only') groups=('xfce4') depends=('libxfce4ui') -makedepends=('intltool' 'python' 'gobject-introspection') -source=(https://archive.xfce.org/src/xfce/garcon/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha256sums=('1b8c9292e131968fbfc8987bbc62c5ba47186dd45ef4e47c5d8c5088bb2d434d') +makedepends=('git' 'glib2-devel' 'intltool' 'python' 'gobject-introspection' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/xfce/garcon.git#tag=$pkgname-$pkgver") +sha256sums=('488ff7e9631395cdf4a607b606fe87f1e8c6d9c16c465330379447bb28876269') -build() { - cd $pkgname-$pkgver - - ./configure \ +prepare() { + cd $pkgname + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --enable-gtk-doc \ --disable-debug +} + +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/garcon/-/commit/f44f6dfa05f44d904b714e470494964b6fd534b6 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/garcon/-/commit/f44f6dfa05f44d904b714e470494964b6fd534b6 You're receiving this email because of your account on gitlab.archlinux.org.
