Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / caja-actions
Commits: 78e4a7f1 by Robin Candau at 2024-09-08T18:38:47+02:00 upgpkg: 1.28.0-2: Update licenses + use SPDX identifiers, use more transparent sourc, add check(), add nvchecker integration https://archlinux.org/todo/general-mate-packages-rework/ - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,15 +1,20 @@ pkgbase = caja-actions pkgdesc = Extension for Caja which allows the user to add arbitrary program to be launched pkgver = 1.28.0 - pkgrel = 1 + pkgrel = 2 url = https://mate-desktop.org arch = x86_64 groups = mate-extra - license = GPL + license = GPL-2.0-or-later AND LGPL-2.0-or-later + makedepends = autoconf-archive + makedepends = glib2-devel makedepends = itstool + makedepends = mate-common + makedepends = python-packaging + makedepends = yelp-tools depends = caja depends = libgtop - source = https://pub.mate-desktop.org/releases/1.28/caja-actions-1.28.0.tar.xz - sha256sums = 310d39488e707fad848959a0a800b6154f4498dfddaeff5af49e4db35d0bea4d + source = caja-actions-1.28.0.tar.gz::https://github.com/mate-desktop/caja-actions/archive/refs/tags/v1.28.0.tar.gz + sha256sums = 26de83562a7cab208c3871285f287cb2cd94beaf18fecbfefcd9a541c531d748 pkgname = caja-actions ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,4 @@ +[caja-actions] +source = "git" +git = "https://github.com/mate-desktop/caja-actions.git" +prefix = "v" ===================================== PKGBUILD ===================================== @@ -4,29 +4,35 @@ pkgname=caja-actions pkgver=1.28.0 -pkgrel=1 +pkgrel=2 pkgdesc="Extension for Caja which allows the user to add arbitrary program to be launched" url="https://mate-desktop.org" arch=('x86_64') -license=('GPL') +license=('GPL-2.0-or-later AND LGPL-2.0-or-later') depends=('caja' 'libgtop') -makedepends=('itstool' 'python-packaging') +makedepends=('autoconf-archive' 'glib2-devel' 'itstool' 'mate-common' 'python-packaging' 'yelp-tools') groups=('mate-extra') -source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('310d39488e707fad848959a0a800b6154f4498dfddaeff5af49e4db35d0bea4d') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/caja-actions/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('26de83562a7cab208c3871285f287cb2cd94beaf18fecbfefcd9a541c531d748') + +prepare() { + cd "${pkgname}-${pkgver}" + NOCONFIGURE=1 ./autogen.sh +} build() { - cd "$pkgname-$pkgver" + cd "${pkgname}-${pkgver}" ./configure \ --prefix=/usr \ - --libexecdir=/usr/lib/$pkgname - - #https://bugzilla.gnome.org/show_bug.cgi?id=656231 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - + --libexecdir="/usr/lib/${pkgname}" make } +check() { + cd "${pkgname}-${pkgver}" + make check +} + package() { cd "$pkgname-$pkgver" make DESTDIR="${pkgdir}" install View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/caja-actions/-/commit/78e4a7f1067aeb01e09239805890eee55446b075 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/caja-actions/-/commit/78e4a7f1067aeb01e09239805890eee55446b075 You're receiving this email because of your account on gitlab.archlinux.org.
