[arch-commits] Commit in datamash/repos/community-x86_64 (PKGBUILD PKGBUILD keys)
George Rawlinson
grawlinson at gemini.archlinux.org
Sun Jul 24 09:26:21 UTC 2022
Date: Sunday, July 24, 2022 @ 09:26:20
Author: grawlinson
Revision: 1255890
archrelease: copy trunk to community-x86_64
Added:
datamash/repos/community-x86_64/PKGBUILD
(from rev 1255889, datamash/trunk/PKGBUILD)
datamash/repos/community-x86_64/keys/
Deleted:
datamash/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 51 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-24 09:25:33 UTC (rev 1255889)
+++ PKGBUILD 2022-07-24 09:26:20 UTC (rev 1255890)
@@ -1,32 +0,0 @@
-# Maintainer: Alad Wenter <alad at mailbox.org>
-# Contributor: Gavin Lloyd <gavinhungry at gmail.com>
-# Contributor: Timothy Rice <timothy.rice at unimelb.edu.au>
-pkgname=datamash
-pkgver=1.7
-pkgrel=1
-pkgdesc='Performs basic numeric,textual and statistical operations on input textual data files'
-url="https://www.gnu.org/software/datamash/"
-arch=('x86_64')
-license=('GPL')
-source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
- "https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz.sig")
-sha256sums=('574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3'
- 'SKIP')
-# Assaf Gordon <assafgordon at gmail.com>
-validpgpkeys=('F576AAAC1B0FF849792D8CB129A794FD2272BC86')
-
-build() {
- cd "$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
Copied: datamash/repos/community-x86_64/PKGBUILD (from rev 1255889, datamash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-24 09:26:20 UTC (rev 1255890)
@@ -0,0 +1,51 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Gavin Lloyd <gavinhungry at gmail.com>
+# Contributor: Timothy Rice <timothy.rice at unimelb.edu.au>
+
+pkgname=datamash
+pkgver=1.8
+pkgrel=1
+pkgdesc='Performs basic numeric, textual and statistical operations on input textual data files'
+arch=('x86_64')
+url='https://www.gnu.org/software/datamash'
+license=('GPL')
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+ "https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz.sig")
+sha512sums=('5ef312a73ebee5df7308b7e368f296714fcc396761499d4a5ba94906f6ecdb0867193c5ce25668bf56b7a5339a8a833a98b3ad564c01544880a6ec210c7b922a'
+ 'SKIP')
+b2sums=('42ca3528dd8011961a6711054177e263c7ad4f429f40db0532719134ff1d735b5424dcd6d2643df123d9994df7d4ceb5b36578af5a86b4070a879eebea940c73'
+ 'SKIP')
+validpgpkeys=('33382C8D62017A1012A05B35BDB72EC3D3F87EE6') # Timothy Rice (Yubikey 5 Nano 13139911) <trice at posteo.net>
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ make check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # ensure bash completions go to correct directory
+ install -vd "$pkgdir/usr/share/bash-completion/completions"
+ mv -v "$pkgdir/usr/share/datamash/bash-completion.d/$pkgname" \
+ "$pkgdir/usr/share/bash-completion/completions"
+
+ # move documentation to correct directory
+ install -vd "$pkgdir/usr/share/doc"
+ mv -v "$pkgdir/usr/share/$pkgname" "$pkgdir/usr/share/doc"
+
+ # remove empty folder
+ rm -vrf "$pkgdir/usr/share/datamash"
+}
More information about the arch-commits
mailing list