summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpierce2015-08-18 08:25:31 -0700
committerjpierce2015-08-18 08:25:31 -0700
commit92121aedbfdaadeed027f1f15089679a217e6977 (patch)
tree9be84d18e75b0ce5637aa8fe87bc83b7db1318fa
downloadaur-92121aedbfdaadeed027f1f15089679a217e6977.tar.gz
Initial Import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
-rw-r--r--nionswift.desktop10
-rw-r--r--nionswift.pngbin0 -> 5004 bytes
4 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..091873b8434
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = nion-swift
+ pkgdesc = Program developed by Nion Co. for interfacing with electron microscopes and for data analysis.
+ pkgver = 0.5.1
+ pkgrel = 1
+ url = http://nion.com/swift/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = qt5-base
+ depends = qt5-svg
+ depends = python
+ depends = python-numpy
+ depends = python-scipy
+ source = nion-swift.zip::http://a.nion.com/swift/files/NionSwift_Linux_x64_0.5.1.zip
+ md5sums = SKIP
+
+pkgname = nion-swift
+
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
+}
diff --git a/nionswift.desktop b/nionswift.desktop
new file mode 100644
index 00000000000..8a1adc48042
--- /dev/null
+++ b/nionswift.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=NionSwift
+Icon=nionswift
+GenericName=Nion Swift Capture and Analysis Platform
+Comment=Powerful Python based scripting and extension based platform for Microscopists.
+Exec=/usr/bin/NionSwift
+Terminal=true
+Type=Application
+Categories=Development;IDE;
+StartupNotify=true
diff --git a/nionswift.png b/nionswift.png
new file mode 100644
index 00000000000..be8ca726b91
--- /dev/null
+++ b/nionswift.png
Binary files differ