summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fccd85f34898aa7a05376bc78c5e732ddfa21a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Lev Levitsky <levlev@mail.ru>
pkgname=morpheus
pkgver=290
pkgrel=1
pkgdesc="A mass spectrometry–based proteomics database search algorithm"
arch=('any')
url="http://cwenger.github.io/Morpheus/"
license=('MIT')
depends=('mono')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::https://github.com/cwenger/Morpheus/releases/download/r${pkgver}/Morpheus_mzML_Mono.tar.gz"
        "morpheus_cl"
        "morpheus")
install=${pkgname}.install
md5sums=('861710c00a6efa1097ed09eefc348382'
         '71ab85a987af41daf56c3b806c53c49b'
         '13af6d888daf9c4a30ec7253312a67b3')

package() {
    opt="$pkgdir/opt/$pkgname"
    install -d "$opt"
    install -D "$srcdir/morpheus_cl" "$pkgdir/usr/bin/morpheus_cl"
    install -D "$srcdir/morpheus" "$pkgdir/usr/bin/morpheus"
    cp -rT "$srcdir/Morpheus (mzML Mono)" "$opt"
    rm "$opt"/MIT_License.*.txt
    install -d "$pkgdir/usr/share/licenses/$pkgname"
    install -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/Morpheus (mzML Mono)"/MIT_License.{CommandLine,Morpheus}.txt
}