summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2019-08-26 07:12:10 +0200
committerbartus2019-08-26 07:12:10 +0200
commitd39f5c600e4cbb75f77e9c5b23e7560448c2fd39 (patch)
treeac2a673ad4f27e8fe520dc9981874aa57b89fb55
parent8525df1642f68f88fb37d2d037e532c5ec9b4c29 (diff)
downloadaur-neatimage.tar.gz
Fix: replace symlink with bash scripts
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 084859c1a02..9a8f4d880fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = neatimage
pkgdesc = Best noise reduction fro digital cameras and scanners
pkgver = 8.4
- pkgrel = 1
+ pkgrel = 2
url = https://ni.neatvideo.com/
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 971b331ba63..8e534f28d63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=neatimage
pkgver=8.4
-pkgrel=1
+pkgrel=2
pkgdesc="Best noise reduction fro digital cameras and scanners"
arch=('x86_64')
url="https://ni.neatvideo.com/"
@@ -22,6 +22,7 @@ package() {
install -Dm644 "$pkgdir"/opt/NeatImage/Legal.txt "$pkgdir"/usr/share/licenses/"$pkgname"/Legal.txt
# install -Dm755 neatimage "$pkgdir"/usr/bin/neatimage
mkdir -p "$pkgdir"/usr/bin
- ln -s "$pkgdir"/opt/NeatImage/NeatImage "$pkgdir"/usr/bin/NeatImage
- ln -s "$pkgdir"/opt/NeatImage/NeatImageCL "$pkgdir"/usr/bin/NeatImageCL
+ echo -e '#!/bin/bash \n cd /opt/NeatImage/ && ./NeatImage "$@"' > "$pkgdir"/usr/bin/NeatImage
+ echo -e '#!/bin/bash \n cd /opt/NeatImage/ && ./NeatImageCL "$@"' > "$pkgdir"/usr/bin/NeatImageCL
+ chmod +x "$pkgdir"/usr/bin/NeatImage{,CL}
}