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


Commits:
17adb451 by Robin Candau at 2024-09-21T00:56:58+02:00
upgpkg: 0.9.6-2 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 nvchecker integration (.nvchecker.toml)

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = xfce4-notifyd
        pkgdesc = Notification daemon for the Xfce desktop
        pkgver = 0.9.6
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/apps/notifyd/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
        makedepends = glib2-devel
        makedepends = xfce4-panel
@@ -18,7 +19,7 @@ pkgbase = xfce4-notifyd
        depends = libcanberra
        depends = hicolor-icon-theme
        provides = notification-daemon
-       source = 
https://archive.xfce.org/src/apps/xfce4-notifyd/0.9/xfce4-notifyd-0.9.6.tar.bz2
-       sha256sums = 
9e53265cca7d835c31b3c2c0d3ae961704870839ef583dcca3e4cc98ae3d2671
+       source = 
git+https://gitlab.xfce.org/apps/xfce4-notifyd.git#tag=xfce4-notifyd-0.9.6
+       sha256sums = 
9b2923742de76258844073d9787b4b99769aac89b939029150e49ef5ac09f402
 
 pkgname = xfce4-notifyd


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[xfce4-notifyd]
+source = "git"
+git = "https://gitlab.xfce.org/apps/xfce4-notifyd.git";
+prefix = "xfce4-notifyd-"


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: tobias <tobias funnychar archlinux.org>
 
 pkgname=xfce4-notifyd
 pkgver=0.9.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Notification daemon for the Xfce desktop"
 arch=('x86_64')
 url="https://docs.xfce.org/apps/notifyd/start";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('libxfce4ui' 'libxfce4util' 'libnotify' 'xfconf' 'sqlite' 
'libcanberra'
          'hicolor-icon-theme')
-makedepends=('intltool' 'glib2-devel' 'xfce4-panel' 'xfce4-dev-tools')
+makedepends=('git' 'intltool' 'glib2-devel' 'xfce4-panel' 'xfce4-dev-tools')
 provides=('notification-daemon')
-source=(https://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('9e53265cca7d835c31b3c2c0d3ae961704870839ef583dcca3e4cc98ae3d2671')
+source=("git+https://gitlab.xfce.org/apps/xfce4-notifyd.git#tag=$pkgname-$pkgver";)
+sha256sums=('9b2923742de76258844073d9787b4b99769aac89b939029150e49ef5ac09f402')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --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-notifyd/-/commit/17adb451ff6b31300fb2d64b47e58473fb5fa1b6

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


Reply via email to