diff options
author | chrisjbillington | 2019-11-18 09:47:26 -0500 |
---|---|---|
committer | chrisjbillington | 2019-11-18 09:47:26 -0500 |
commit | b8f6e0b0af24a831aa68d7a4dceaf44f82523f87 (patch) | |
tree | b2a2b331e7ed841241ae3c482f1ac703b80f272a | |
parent | 362a5e568fd61557ea68eb059d56defbdb0a9e9f (diff) | |
download | aur-b8f6e0b0af24a831aa68d7a4dceaf44f82523f87.tar.gz |
add missing braces in srcdir,pkgdir usage. Preserve timestamps
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,7 +1,7 @@ # Maintainer: Chris Billington <chrisjbillington@gmail.com> pkgname=radia pkgver=4.31 -pkgrel=1 +pkgrel=2 pkgdesc="Mathematica addon for magnetostatics calculations" arch=('x86_64') url="http://www.esrf.eu/Accelerators/Groups/InsertionDevices/Software/Radia" @@ -11,8 +11,9 @@ source=("http://ftp.esrf.fr/pub/InsertionDevices/RADIA/V$pkgver/Linux/Mathematic sha512sums=("a459730a63a067f42d0df8a7472caa00979f15c307c49d17cb658838e02fa0cebe47b1bc80f3e438dc021917b4c2ddc8c251867655365346ed3dc0890c7fa567") package() { - install -d "${pkgdir}/opt/Mathematica/AddOns/Applications/" - cp -R "$srcdir/Radia" "${pkgdir}/opt/Mathematica/AddOns/Applications/" - chmod -R 755 "${pkgdir}/opt/Mathematica/AddOns/Applications/Radia" - install -Dm644 "$srcdir/Radia/CopyRight.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -}
\ No newline at end of file + installdir="${pkgdir}/opt/Mathematica/AddOns/Applications/" + mkdir -p "${installdir}" + cp -R -d --preserve=timestamps "${srcdir}/Radia" "${installdir}" + chmod -R 755 "${installdir}" + install -Dm644 "${srcdir}/Radia/CopyRight.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} |