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


Commits:
5190affc by Robin Candau at 2024-09-19T13:11:05+02:00
upgpkg: 0.8.6-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)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,19 @@
 pkgbase = xfce4-dict
        pkgdesc = A dictionary plugin for the Xfce panel
        pkgver = 0.8.6
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/apps/xfce4-dict/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
        depends = librsvg
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/apps/xfce4-dict/0.8/xfce4-dict-0.8.6.tar.bz2
-       sha256sums = 
ae5db7ca70354d3293fc08eaf7ca40cdbc91799a219f199d824684b39e6c0a41
+       source = 
git+https://gitlab.xfce.org/apps/xfce4-dict.git#tag=xfce4-dict-0.8.6
+       sha256sums = 
1837c02952bcf5da8afdfc3c69fb6170b02cf2ac15d81d0c7a9c6dd71dc0c56e
 
 pkgname = xfce4-dict


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: AndyRTR <[email protected]>
 # Contributor: Aurelien Foret <[email protected]>
 
 pkgname=xfce4-dict
 pkgver=0.8.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A dictionary plugin for the Xfce panel"
 arch=('x86_64')
 url="https://docs.xfce.org/apps/xfce4-dict/start";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'librsvg' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('ae5db7ca70354d3293fc08eaf7ca40cdbc91799a219f199d824684b39e6c0a41')
+makedepends=('git' 'glib2-devel' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/apps/xfce4-dict.git#tag=$pkgname-$pkgver";)
+sha256sums=('1837c02952bcf5da8afdfc3c69fb6170b02cf2ac15d81d0c7a9c6dd71dc0c56e')
 
-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-dict/-/commit/5190affce3dc0b2370ec80408cf333ce4a97a721

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


Reply via email to