Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / thunar


Commits:
10706e9c by Robin Candau at 2024-09-18T09:34:59+02:00
upgpkg: 4.18.11-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)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,18 @@
 pkgbase = thunar
        pkgdesc = Modern, fast and easy-to-use file manager for Xfce
        pkgver = 4.18.11
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/xfce/thunar/start
        arch = x86_64
        groups = xfce4
-       license = GPL2
-       license = LGPL2.1
+       license = GPL-2.0-or-later
+       license = LGPL-2.1-only
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = intltool
        makedepends = gobject-introspection
        makedepends = xfce4-panel
+       makedepends = xfce4-dev-tools
        depends = desktop-file-utils
        depends = libexif
        depends = hicolor-icon-theme
@@ -26,7 +29,7 @@ pkgbase = thunar
        optdepends = thunar-volman: removable device management
        optdepends = thunar-archive-plugin: archive creation and extraction
        optdepends = thunar-media-tags-plugin: view/edit ID3/OGG tags
-       source = 
https://archive.xfce.org/src/xfce/thunar/4.18/thunar-4.18.11.tar.bz2
-       sha256sums = 
7d0bdae2076a568c137d403ab5600e06a7a4f7a02514d486da7b8414aa75d612
+       source = git+https://gitlab.xfce.org/xfce/thunar.git#tag=thunar-4.18.11
+       sha256sums = 
b83537f800a4a86ad06498fdbc475a8e42d9c668a5c9e2121947ce5c79542b6a
 
 pkgname = thunar


=====================================
PKGBUILD
=====================================
@@ -1,47 +1,48 @@
 # Maintainer: Evangelos Foutras <[email protected]>
 # Maintainer: T.J. Townsend <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Andrew Simmons <[email protected]>
 
 pkgname=thunar
 pkgver=4.18.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Modern, fast and easy-to-use file manager for Xfce"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/thunar/start";
-license=('GPL2' 'LGPL2.1')
+license=('GPL-2.0-or-later' 'LGPL-2.1-only')
 groups=('xfce4')
 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
          'pcre2' 'libgudev' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'gobject-introspection' 'xfce4-panel')
+makedepends=('git' 'glib2-devel' 'intltool' 'gobject-introspection' 
'xfce4-panel' 'xfce4-dev-tools')
 optdepends=('catfish: file searching'
             'gvfs: trash support, mounting with udisk and remote filesystems'
             'tumbler: thumbnail previews'
             'thunar-volman: removable device management'
             'thunar-archive-plugin: archive creation and extraction'
             'thunar-media-tags-plugin: view/edit ID3/OGG tags')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('7d0bdae2076a568c137d403ab5600e06a7a4f7a02514d486da7b8414aa75d612')
+source=("git+https://gitlab.xfce.org/xfce/thunar.git#tag=$pkgname-$pkgver";)
+sha256sums=('b83537f800a4a86ad06498fdbc475a8e42d9c668a5c9e2121947ce5c79542b6a')
 
 prepare() {
-  cd $pkgname-$pkgver
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --enable-gio-unix \
     --enable-gudev \
     --enable-notifications \
     --enable-exif \
+    --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/thunar/-/commit/10706e9c5c5354c521302c0afd189da682b54b6d

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


Reply via email to