diff options
author | BioArchLinuxBot | 2023-01-06 12:08:36 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-01-06 12:08:36 +0000 |
commit | 06c19369cfaa76ab75258dff13583ff7857bcb5f (patch) | |
tree | d8dc8a2c3aef5e10817bebe3ae46b658b3b16261 | |
parent | c9093f12cf0d513b7790336f0bcf85683cf2a06c (diff) | |
download | aur-06c19369cfaa76ab75258dff13583ff7857bcb5f.tar.gz |
[lilac] updated to 3.0.3-3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 14 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = sra-tools pkgdesc = A collection of tools and libraries for using data in the INSDC Sequence Read Archives pkgver = 3.0.3 - pkgrel = 1 + pkgrel = 3 url = https://github.com/ncbi/sra-tools arch = x86_64 license = custom: Public Domain @@ -7,7 +7,7 @@ pkgname=sra-tools _dep=ncbi-vdb pkgver=3.0.3 _depver=3.0.2 -pkgrel=1 +pkgrel=3 pkgdesc='A collection of tools and libraries for using data in the INSDC Sequence Read Archives' url="https://github.com/ncbi/sra-tools" source=("$pkgname-$pkgver.tar.gz::https://github.com/ncbi/sra-tools/archive/refs/tags/$pkgver.tar.gz" @@ -60,16 +60,25 @@ package(){ make DESTDIR="$pkgdir" install cp -rf ${srcdir}/"$pkgname-$pkgver"/etc "$pkgdir" cp -rf $srcdir/$_dep-$_depver/interfaces/kfg/ncbi/etc "$pkgdir" + # install LICENSE file install -Dm644 ${srcdir}/"$pkgname-$pkgver"/LICENSE -t "$pkgdir"/usr/share/licenses/sra-tools/ + # remove empty folder rm -Rf "$pkgdir"/usr/include/kfg/ncbi/etc/ - # remove symlinks and fix filenames - - find "$pkgdir"/usr/bin -type l -delete + # remove symlinks + find "$pkgdir"/usr/bin -type l -delete + + # Fix filenames: remove $pkgever suffix from end of binaries for filename in "$pkgdir"/usr/bin/* do [ -f "$filename" ] || continue mv "$filename" "${filename//.${pkgver}/}" done + + # Fix filenames: remove -orig suffix from end of binaries + for filename in "$pkgdir"/usr/bin/* + do [ -f "$filename" ] || continue + mv -n "$filename" "${filename//-orig/}" + done } |