Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-appfinder


Commits:
e07a3d0f by Robin Candau at 2024-09-18T13:02:31+02:00
upgpkg: 4.18.1-3 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,17 +1,19 @@
 pkgbase = xfce4-appfinder
        pkgdesc = Application launcher and finder
        pkgver = 4.18.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://docs.xfce.org/xfce/xfce4-appfinder/start
        arch = x86_64
        groups = xfce4
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = libxfce4ui
        depends = garcon
        depends = xfconf
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/xfce/xfce4-appfinder/4.18/xfce4-appfinder-4.18.1.tar.bz2
-       sha256sums = 
9854ea653981be544ad545850477716c4c92d0c43eb47b75f78534837c0893f9
+       source = 
git+https://gitlab.xfce.org/xfce/xfce4-appfinder.git#tag=xfce4-appfinder-4.18.1
+       sha256sums = 
f82144113ad4284af97c72c087de208e0e936424077dd7fe10473ad0901b0b24
 
 pkgname = xfce4-appfinder


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[xfce4-appfinder]
+source = "git"
+git = "https://gitlab.xfce.org/xfce/xfce4-appfinder.git";
+prefix = "xfce4-appfinder-"
+exclude_regex = 'xfce4-appfinder-4\.[12][13579]\.[0-9]+'


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: AndyRTR <[email protected]>
 # Contributor: tobias <tobias funnychar archlinux.org>
 
 pkgname=xfce4-appfinder
 pkgver=4.18.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Application launcher and finder"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfce4-appfinder/start";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4')
 depends=('libxfce4ui' 'garcon' 'xfconf' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('9854ea653981be544ad545850477716c4c92d0c43eb47b75f78534837c0893f9')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/xfce/xfce4-appfinder.git#tag=$pkgname-$pkgver";)
+sha256sums=('f82144113ad4284af97c72c087de208e0e936424077dd7fe10473ad0901b0b24')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
     --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/xfce4-appfinder/-/commit/e07a3d0f78a3df8b58f89b6d627886aae72bfc17

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-appfinder/-/commit/e07a3d0f78a3df8b58f89b6d627886aae72bfc17
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to