summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Weber2015-06-19 09:57:00 +0200
committerSteffen Weber2015-06-19 09:57:00 +0200
commit95546aad4e0991f4681d4535f0773efc95245f41 (patch)
tree6dfeda17d597f9e409b7cf9f0174e1cd4eaa491e
downloadaur-95546aad4e0991f4681d4535f0773efc95245f41.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD39
-rw-r--r--seaview.desktop20
-rw-r--r--seaview.install13
-rw-r--r--seaview.sharedmimeinfo12
5 files changed, 106 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a47cec15ad1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = seaview
+ pkgdesc = GUI for multiple sequence alignment and molecular phylogeny
+ pkgver = 4.5.4
+ pkgrel = 1
+ url = http://doua.prabi.fr/software/seaview
+ install = seaview.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = shared-mime-info
+ depends = fltk
+ optdepends = clustal-omega: alignment
+ optdepends = muscle: alignment
+ source = ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/seaview_4.5.4.tar.gz
+ source = seaview.desktop
+ source = seaview.sharedmimeinfo
+ md5sums = 9c7797be6349bd5ad5dfa30297d3bd71
+ md5sums = 94f13509470dd69f053ffc178884e292
+ md5sums = 9592a71ee55fa6edfbaddbce2d5469b9
+
+pkgname = seaview
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..16602f88866
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Steffen Weber <-boenki-gmx-de->
+# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
+
+pkgname=seaview
+pkgver=4.5.4
+pkgrel=1
+pkgdesc="GUI for multiple sequence alignment and molecular phylogeny"
+arch=('i686' 'x86_64')
+url="http://doua.prabi.fr/software/seaview"
+license=('GPL3')
+depends=('shared-mime-info' 'fltk')
+optdepends=('clustal-omega: alignment'
+ 'muscle: alignment')
+install='seaview.install'
+source=("ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/$pkgname/archive/${pkgname}_${pkgver}.tar.gz"
+ 'seaview.desktop'
+ 'seaview.sharedmimeinfo')
+md5sums=('9c7797be6349bd5ad5dfa30297d3bd71'
+ '94f13509470dd69f053ffc178884e292'
+ '9592a71ee55fa6edfbaddbce2d5469b9')
+
+build() {
+ cd seaview
+ make
+}
+
+package() {
+ install -d $pkgdir/usr/{bin,share/{seaview,pixmaps,man/man1,applications,icons/hicolor/scalable/apps,mime/packages,doc/seaview}}
+
+ install -m644 seaview.desktop $pkgdir/usr/share/applications/
+ install -m644 seaview.sharedmimeinfo $pkgdir/usr/share/mime/packages/seaview.xml
+
+ cd seaview
+ install -m755 seaview $pkgdir/usr/bin/
+ install -m644 seaview.xpm $pkgdir/usr/share/pixmaps/
+ install -m644 seaview.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/
+ install -m644 seaview.html $pkgdir/usr/share/doc/seaview/
+ install -m644 seaview.1 $pkgdir/usr/share/man/man1/
+}
diff --git a/seaview.desktop b/seaview.desktop
new file mode 100644
index 00000000000..db5ade7c707
--- /dev/null
+++ b/seaview.desktop
@@ -0,0 +1,20 @@
+# This file was orignially written for Debian, and can be copied, used,
+# modified and redistributed under the same licence as SeaView itself.
+
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=seaview
+Exec=seaview %f
+Name=SeaView
+GenericName=Multiple sequence alignment editor
+GenericName[en]=Multiple sequence alignment editor
+GenericName[fr]=Éditeur d'alignements multiples de séquences
+GenericName[pt_BR]=Editor de alinhamento múltiplo de seqüências
+Comment=Edits multiple sequence alignments and prints them in PostScript format.
+Comment[en]=Edits multiple sequence alignments and prints them in PostScript format.
+Comment[fr]=Édite des aligmements multiples de séquences et les imprime au format PostScript.
+Comment[pt_BR]=Edita múltiplos alinhamentos de seqüências e os imprimem em formato PostScript.
+Type=Application
+Categories=Biology;Science;Education;
+MimeType=text/x-clustalw-alignment;
diff --git a/seaview.install b/seaview.install
new file mode 100644
index 00000000000..323ceed506f
--- /dev/null
+++ b/seaview.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/seaview.sharedmimeinfo b/seaview.sharedmimeinfo
new file mode 100644
index 00000000000..cde1beff146
--- /dev/null
+++ b/seaview.sharedmimeinfo
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="text/x-clustalw-alignment">
+ <sub-class-of type="text/plain"/>
+ <comment>Multiple sequence alignment in Clustal W format</comment>
+ <comment xml:lang="fr">Alignement multiple de séquences au format Clustal W</comment>
+ <magic priority="50">
+ <match type="string" offset="0" value="CLUSTAL"/>
+ </magic>
+ <glob pattern="*.aln"/>
+ </mime-type>
+</mime-info>