diff options
author | eomanis | 2024-09-25 23:04:00 +0200 |
---|---|---|
committer | eomanis | 2024-09-25 23:04:00 +0200 |
commit | 3dcbd35278c343a4f85c9abf9cf8c31fc59e4c9c (patch) | |
tree | b0c6b85d2ff1ad00a65630339d445c30eb3df85f | |
parent | cbca0712500bd9d24155c246c78ce79a63310b28 (diff) | |
download | aur-disk-test.tar.gz |
Update upstream URLs, fix shellcheck warnings
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | PKGBUILD | 17 |
2 files changed, 13 insertions, 11 deletions
@@ -1,8 +1,8 @@ pkgbase = disk-test pkgdesc = Block device read-write test utility written in bash pkgver = 0.2.4 - pkgrel = 1 - url = https://eomanis.duckdns.org/permshare/disk-test/ + pkgrel = 2 + url = https://www.eomanis.dedyn.io/permshare/disk-test/ arch = any license = GPL3 depends = bash @@ -13,8 +13,7 @@ pkgbase = disk-test depends = pv depends = sed depends = util-linux - source = https://eomanis.duckdns.org/permshare/disk-test/disk-test-0.2.4.tar.gz + source = https://www.eomanis.dedyn.io/permshare/disk-test/disk-test-0.2.4.tar.gz sha384sums = fbc1d7bfa68ac88b0b122eca8192ef5721b37337c3df70194b2fb1eed0607257beeeb6d86249d4902c932f0eb1917b37 pkgname = disk-test - diff --git a/PKGBUILD b/PKGBUILD index 47aaf9769088..4e0be216934f 100755..100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,29 +1,32 @@ +# shellcheck shell=bash +# shellcheck disable=SC2034 # Various variables that are used by makepkg +# shellcheck disable=SC2154 # Various variables that are provided by makepkg # Maintainer: eomanis at web dot de pkgname='disk-test' _pkgverUpstream="0.2.4" pkgver="${_pkgverUpstream//-/.}" -pkgrel=1 +pkgrel=2 pkgdesc="Block device read-write test utility written in bash" arch=('any') -url='https://eomanis.duckdns.org/permshare/disk-test/' +url='https://www.eomanis.dedyn.io/permshare/disk-test/' license=('GPL3') depends=('bash' 'coreutils' 'diffutils' 'grep' 'openssl' 'pv' 'sed' 'util-linux') -source=("https://eomanis.duckdns.org/permshare/disk-test/disk-test-${_pkgverUpstream}.tar.gz") +source=("https://www.eomanis.dedyn.io/permshare/disk-test/disk-test-${_pkgverUpstream}.tar.gz") sha384sums=('fbc1d7bfa68ac88b0b122eca8192ef5721b37337c3df70194b2fb1eed0607257beeeb6d86249d4902c932f0eb1917b37') package() { local srcRootDir="${srcdir}/${pkgname}-${_pkgverUpstream}" - + # Place the main bash script into /usr/bin mkdir -p "${pkgdir}/usr/bin" - cd "${pkgdir}/usr/bin" + cd "${pkgdir}/usr/bin" || return 1 cp -t . "${srcRootDir}/disk-test" chmod u=rwx,go=rx "disk-test" - + # Gzip and place the manual page mkdir -p "${pkgdir}/usr/share/man" - cd "${pkgdir}/usr/share/man" + cd "${pkgdir}/usr/share/man" || return 1 mkdir "man1" gzip --fast --to-stdout - < "${srcRootDir}/disk-test.1" > "man1/disk-test.1.gz" chmod -R u=rwX,go=rX . |