Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / rcs


Commits:
7def6676 by Caleb Maclennan at 2024-02-28T12:55:20+03:00
upgpkg: 5.10.1-2: Provide diff3 so rcsmerge doesn't fallback to ed; use 
SPDX license

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = rcs
+       pkgdesc = Revision Control System: manages multiple revisions of files
+       pkgver = 5.10.1
+       pkgrel = 2
+       url = https://www.gnu.org/software/rcs/
+       arch = x86_64
+       license = GPL-3.0-only
+       makedepends = ed
+       depends = bash
+       depends = diffutils
+       depends = glibc
+       source = https://ftp.gnu.org/gnu/rcs/rcs-5.10.1.tar.lz
+       source = https://ftp.gnu.org/gnu/rcs/rcs-5.10.1.tar.lz.sig
+       validpgpkeys = 748EA0E81CB8A7489BFA6CE4670322244C807502
+       sha256sums = 
43ddfe10724a8b85e2468f6403b6000737186f01e60e0bd62fde69d842234cc5
+       sha256sums = SKIP
+
+pkgname = rcs


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,36 @@
-# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Maintainer: Caleb Maclennan <ca...@alerque.com>
+# Contributor: Gaetan Bisson <bis...@archlinux.org>
 # Contributor: dorphell <dorph...@archlinux.org>
 
 pkgname=rcs
 pkgver=5.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Revision Control System: manages multiple revisions of files'
-url='https://www.gnu.org/software/rcs/'
-license=('GPL3')
-arch=('x86_64')
-depends=('ed')
-validpgpkeys=('748EA0E81CB8A7489BFA6CE4670322244C807502')
-source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz"{,.sig})
+url="https://www.gnu.org/software/$pkgname/";
+license=(GPL-3.0-only)
+arch=(x86_64)
+depends=(bash
+         diffutils
+         glibc)
+makedepends=(ed)
+_archive="$pkgname-$pkgver"
+source=("https://ftp.gnu.org/gnu/$pkgname/$_archive.tar.lz"{,.sig})
 sha256sums=('43ddfe10724a8b85e2468f6403b6000737186f01e60e0bd62fde69d842234cc5'
             'SKIP')
+validpgpkeys=('748EA0E81CB8A7489BFA6CE4670322244C807502')
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
+       cd "$_archive"
+       ./configure --prefix /usr
+       make
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
-  make check
+       cd "$_archive"
+       make check
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make prefix="${pkgdir}/usr" install
+       cd "$_archive"
+       make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rcs/-/commit/7def66762f730d9d30e1e49d5e2cb08ffed4d950

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


Reply via email to