summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2020-12-12 10:46:27 +0100
committerbartus2020-12-12 10:46:27 +0100
commit43441abdca929c77df26d52c1a171547f7536d07 (patch)
tree83e11eba2661e2c8ddb1b37c0aa90ef56edb72eb /PKGBUILD
parent5a03c038c9249176cab11eb19f7509f2d3c65179 (diff)
downloadaur-ddrescueview.tar.gz
Add shellcheckrc, fix warnings
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d938d904c1d..79a2954b7b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,3 +1,4 @@
+#!/hint/bash
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
pkgname=ddrescueview
@@ -13,7 +14,7 @@ provides=(ddrescueview)
conflicts=(ddrescueview)
depends=('gtk2')
makedepends=('xz' 'lazarus')
-source=( https://downloads.sourceforge.net/project/${pkgname}/Test\ builds/v${_pkgver}\ alpha\ ${_pkgver_alpha}/${pkgname}-source-${_pkgver}~alpha${_pkgver_alpha}.tar.xz)
+source=( "https://downloads.sourceforge.net/project/${pkgname}/Test builds/v${_pkgver} alpha ${_pkgver_alpha}/${pkgname}-source-${_pkgver}~alpha${_pkgver_alpha}.tar.xz")
sha256sums=('8cf914da04f2004499f9af9429b38045c7148c6aff44be96fd3853c0a84d256c')
b2sums=('81d8101b81d9fc8a3636a749356655e84ef868bf1c519392cf59851c3d6ea243905bd08f3cdc76f1db7195222f46efbd56702af0d162f8cafceb143c139d0515')
@@ -27,12 +28,12 @@ build() {
package() {
cd ${pkgname}-source-${_pkgver}~alpha${_pkgver_alpha}
- install -D -m 755 source/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -D -m 755 source/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
- install -dm755 $pkgdir/usr/share
- cp -r resources/linux/{applications,icons,man} $pkgdir/usr/share
+ install -dm755 "$pkgdir"/usr/share
+ cp -r resources/linux/{applications,icons,man} "$pkgdir"/usr/share
- install -D -m 644 changelog.txt ${pkgdir}/usr/share/doc/${pkgname}/changelog.txt
- install -D -m 644 readme.txt ${pkgdir}/usr/share/doc/${pkgname}/readme.txt
+ install -D -m 644 changelog.txt "${pkgdir}"/usr/share/doc/${pkgname}/changelog.txt
+ install -D -m 644 readme.txt "${pkgdir}"/usr/share/doc/${pkgname}/readme.txt
}
# vim:set ts=2 sw=2 et: