summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjpierce2015-08-18 08:25:31 -0700
committerjpierce2015-08-18 08:25:31 -0700
commit92121aedbfdaadeed027f1f15089679a217e6977 (patch)
tree9be84d18e75b0ce5637aa8fe87bc83b7db1318fa /PKGBUILD
downloadaur-92121aedbfdaadeed027f1f15089679a217e6977.tar.gz
Initial Import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..500be249070
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintianer: Jordan Pierce <jordan.pierce.00@gmail.com>
+pkgname=nion-swift
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Program developed by Nion Co. for interfacing with electron microscopes and for data analysis."
+arch=('i686' 'x86_64')
+url="http://nion.com/swift/"
+license=('GPL')
+depends=('qt5-base' 'qt5-svg' 'python' 'python-numpy' 'python-scipy')
+makedepend=('unzip')
+# install=$pkgname.install
+source=("${pkgname}.zip::http://a.nion.com/swift/files/NionSwift_Linux_x64_0.5.1.zip")
+# source=("${pkgname}.zip::http://lythium.uoregon.edu/~jordan/NionSwift_Linux_x64_0.5.1.zip")
+# noextract=("NionSwift_Linux_x64_0.5.1.zip")
+md5sums=("SKIP")
+# pkgdir="/usr/local/"
+
+# build() {
+# cd "$srcdir"
+# msg "Uzipping"
+# unzip ${pkgname}.zip
+# # find . -name "*.pyc" -exec rm -f {} \;
+# }
+
+package() {
+ cd "$srcdir"
+ mkdir -p $pkgdir/usr/local
+ cp -R $srcdir/NionSwift $pkgdir/usr/local/
+
+ 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 /usr/local/NionSwift/NionSwift $pkgdir/usr/bin/NionSwift
+}