Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-smartbookmark-plugin
Commits: 0519dce2 by Robin Candau at 2024-09-21T01:07:12+02:00 upgpkg: 0.5.2-3 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,17 +1,19 @@ pkgbase = xfce4-smartbookmark-plugin pkgdesc = Allows you to send requests directly to your browser and perform a custom search pkgver = 0.5.2 - pkgrel = 2 - url = https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin + pkgrel = 3 + url = https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin/start arch = x86_64 groups = xfce4-goodies - license = GPL2 + license = GPL-2.0-or-later + makedepends = git makedepends = intltool makedepends = libxt + makedepends = xfce4-dev-tools depends = xfce4-panel - source = https://archive.xfce.org/src/panel-plugins/xfce4-smartbookmark-plugin/0.5/xfce4-smartbookmark-plugin-0.5.2.tar.bz2 + source = git+https://gitlab.xfce.org/panel-plugins/xfce4-smartbookmark-plugin.git#tag=0.5.2 source = xfce4-smartbookmark-plugin-archlinux.patch - sha256sums = 2a279e2f5a54518684e62ad1f3cd8ef950826505b39725f1b5d8f0c43031cdd3 + sha256sums = 07b99e22a8e3331fd539654c97cfd2a79b134a4e99184e30995e3df0d6cc9e55 sha256sums = 99c7e17d0e3efe50c19172b5f90c3da73f634fcb6d02cadad883abd04f92fd9f pkgname = xfce4-smartbookmark-plugin ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,4 @@ +[xfce4-smartbookmark-plugin] +source = "git" +git = "https://gitlab.xfce.org/panel-plugins/xfce4-smartbookmark-plugin.git" +prefix = "xfce4-smartbookmark-plugin-" ===================================== PKGBUILD ===================================== @@ -1,43 +1,45 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: AndyRTR <[email protected]> # Contributor: Tobias Kieslich <tobias (at) archlinux.org> pkgname=xfce4-smartbookmark-plugin pkgver=0.5.2 -pkgrel=2 +pkgrel=3 pkgdesc="Allows you to send requests directly to your browser and perform a custom search" arch=('x86_64') -url="https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin" -license=('GPL2') +url="https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin/start" +license=('GPL-2.0-or-later') groups=('xfce4-goodies') depends=('xfce4-panel') -makedepends=('intltool' 'libxt') -source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 +makedepends=('git' 'intltool' 'libxt' 'xfce4-dev-tools') +source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-smartbookmark-plugin.git#tag=$pkgver" xfce4-smartbookmark-plugin-archlinux.patch) -sha256sums=('2a279e2f5a54518684e62ad1f3cd8ef950826505b39725f1b5d8f0c43031cdd3' +sha256sums=('07b99e22a8e3331fd539654c97cfd2a79b134a4e99184e30995e3df0d6cc9e55' '99c7e17d0e3efe50c19172b5f90c3da73f634fcb6d02cadad883abd04f92fd9f') prepare() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname + # Replace Debian URLs by Arch ones patch -Np1 -i "$srcdir/xfce4-smartbookmark-plugin-archlinux.patch" -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure \ + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --disable-debug +} + +build() { + cd $pkgname make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-smartbookmark-plugin/-/commit/0519dce239bc0c0e88b73e6bd26d4236a4e0b0a9 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-smartbookmark-plugin/-/commit/0519dce239bc0c0e88b73e6bd26d4236a4e0b0a9 You're receiving this email because of your account on gitlab.archlinux.org.
