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


Commits:
262c0250 by Robin Candau at 2024-09-18T12:50:28+02:00
upgpkg: 0.7.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,11 +1,14 @@
 pkgbase = xfburn
        pkgdesc = A simple CD/DVD burning tool based on libburnia libraries
        pkgver = 0.7.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/apps/xfburn/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = glib2-devel
+       makedepends = xfce4-dev-tools
        depends = libburn
        depends = libisofs
        depends = gtk3
@@ -14,7 +17,7 @@ pkgbase = xfburn
        depends = gst-plugins-base-libs
        depends = libgudev
        depends = desktop-file-utils
-       source = 
https://archive.xfce.org/src/apps/xfburn/0.7/xfburn-0.7.2.tar.bz2
-       sha256sums = 
c2bb01d9f7335e487f91db40ebddeea30d071364c1c3b56838466fd3367a9925
+       source = git+https://gitlab.xfce.org/apps/xfburn.git#tag=xfburn-0.7.2
+       sha256sums = 
17a9d51c1b768b0044d5651a2d1bca0763135013a28e0f9304cc531413fd38b5
 
 pkgname = xfburn


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


=====================================
PKGBUILD
=====================================
@@ -1,32 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
 # Contributor: Alois Nespor [email protected]
 
 pkgname=xfburn
 pkgver=0.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple CD/DVD burning tool based on libburnia libraries"
 arch=('x86_64')
 url="https://docs.xfce.org/apps/xfburn/start";
-license=('GPL')
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('libburn' 'libisofs' 'gtk3' 'libxfce4ui' 'exo' 'gst-plugins-base-libs'
          'libgudev' 'desktop-file-utils')
-source=(https://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('c2bb01d9f7335e487f91db40ebddeea30d071364c1c3b56838466fd3367a9925')
+makedepends=('git' 'glib2-devel' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/apps/xfburn.git#tag=$pkgname-$pkgver";)
+sha256sums=('17a9d51c1b768b0044d5651a2d1bca0763135013a28e0f9304cc531413fd38b5')
 
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --enable-gstreamer \
     --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/xfburn/-/commit/262c02502024b7c10f299bb7549b6e1964e51e5f

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


Reply via email to