summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2018-03-22 09:10:41 +0100
committerMartino Pilia2018-03-22 09:10:41 +0100
commitf332c7a22e61386dd060c7d7bb3774309620ccf9 (patch)
tree68a4a1e2ecc49e70512e7d1ea336a8ff4a93fcc8
downloadaur-f332c7a22e61386dd060c7d7bb3774309620ccf9.tar.gz
submit package
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD36
-rwxr-xr-xilastik.desktop10
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e851dcc3423
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ilastik-bin
+ pkgdesc = The interactive learning and segmentation toolkit
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = http://ilastik.org
+ arch = x86_64
+ license = GPL
+ options = !strip
+ source = http://files.ilastik.org/ilastik-1.3.0-Linux.tar.bz2
+ source = ilastik.desktop
+ sha512sums = 6c8caa1f1aa9649ccc5f413b5d65b149d400f039e903c17cf97d6cfbe7db241c6f2611216f8425410095b4b7932c75b9dbe1c509a71c2f734cb69bb236fc64a7
+ sha512sums = 8d21c1114a857e73ce9a84afd5772ce0bcb84c6f3af24ba1c25bf1b0ef4e6e5008615fe65c511b791af15046907dc87e52b03e8f6c7d35d8a07777c45bece679
+
+pkgname = ilastik-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..67c1ee88322
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer of this PKBGUILD file: Martino Pilia <martino.pilia@gmail.com>
+_pkgname=ilastik
+pkgname=${_pkgname}-bin
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='The interactive learning and segmentation toolkit'
+arch=('x86_64')
+url='http://ilastik.org'
+license=('GPL')
+provides=()
+depends=()
+makedepends=()
+optdepends=()
+options=('!strip')
+conflicts=()
+source=("http://files.ilastik.org/ilastik-${pkgver}-Linux.tar.bz2"
+ "ilastik.desktop")
+sha512sums=('6c8caa1f1aa9649ccc5f413b5d65b149d400f039e903c17cf97d6cfbe7db241c6f2611216f8425410095b4b7932c75b9dbe1c509a71c2f734cb69bb236fc64a7'
+ '8d21c1114a857e73ce9a84afd5772ce0bcb84c6f3af24ba1c25bf1b0ef4e6e5008615fe65c511b791af15046907dc87e52b03e8f6c7d35d8a07777c45bece679')
+
+package() {
+ cd "${srcdir}"
+
+ mkdir -p "${pkgdir}/opt"
+ mkdir -p "${pkgdir}/usr/share/licenses/${_pkgname}"
+ mkdir -p "${pkgdir}/usr/share/applications"
+
+ cp ilastik.desktop "${pkgdir}/usr/share/applications/ilastik.desktop"
+ sed -i "s/PKGVER/$pkgver/g" "${pkgdir}/usr/share/applications/ilastik.desktop"
+
+ cp ilastik-${pkgver}-Linux/ilastik-meta/ilastik/LICENSE* \
+ "${pkgdir}/usr/share/licenses/${_pkgname}/."
+
+ mv "ilastik-${pkgver}-Linux" "${pkgdir}/opt/ilastik"
+}
+
diff --git a/ilastik.desktop b/ilastik.desktop
new file mode 100755
index 00000000000..5bdbf28723c
--- /dev/null
+++ b/ilastik.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=PKGVER
+Name=Ilastik
+Comment=The interactive learning and segmentation toolkit.
+Exec=/opt/ilastik/run_ilastik.sh
+Icon=/opt/ilastik/ilastik-meta/ilastik/ilastik-icon.png
+Categories=Science;
+Type=Application
+Terminal=false
+StartupNotify=false