summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJordan Pierce2015-12-10 15:45:40 -0800
committerJordan Pierce2015-12-10 15:45:40 -0800
commit2ea1f25a0e7b9474fa9d48e03c4d80396f342028 (patch)
treeb25c89d8f5e74e15bf55a10bb34f2fecac5f9cbc /PKGBUILD
parentc818a95160f78e6a0c684d5803c3f33b65b3dfda (diff)
downloadaur-2ea1f25a0e7b9474fa9d48e03c4d80396f342028.tar.gz
finally and testedly done
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 447fecbcc96..11ce3a1a0f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,18 +23,21 @@ md5sums=("SKIP")
# }
package() {
- cd "$srcdir/NionSwift_python3.4m_0.5.7"
- echo "`ls`"
- mkdir -p $pkgdir/usr/local
- cp -R NionSwift $pkgdir/usr/local/
- echo "startdir $startdir"
- echo "pkgdir $pkgdir"
- echo "`ls $startdir`"
+ # cd "$srcdir/NionSwift_python3.4m_0.5.7"
+ # echo "`ls`"
+ mkdir -p $pkgdir/usr/local/
+ cp -Rax $srcdir/NionSwift_python3.4m_0.5.7/ $pkgdir/usr/local/
+ mv $pkgdir/usr/local/NionSwift_python3.4m_0.5.7/ $pkgdir/usr/local/NionSwift
+ # cp -R NionSwift $pkgdir/usr/local/
+ # echo "startdir $startdir"
+ # echo "pkgdir $pkgdir"
+ # echo "`ls $startdir`"
mkdir -p $pkgdir/usr/share/{applications,pixmaps}
install -Dm644 $startdir/nionswift.desktop $pkgdir/usr/share/applications/
install -Dm644 $startdir/nionswift.png $pkgdir/usr/share/pixmaps/
mkdir -p $pkgdir/usr/bin
- ln -s $pkgdir/usr/local/NionSwift $pkgdir/usr/bin/NionSwift
+ ln -s $pkgdir/usr/local/NionSwift/NionSwift $pkgdir/usr/bin/NionSwift
+ chmod +x $pkgdir/usr/local/NionSwift/NionSwift
}