blob: e1e99ddb73c2ac665c60425d193d6118b6adb282 (
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
28
29
30
|
# Maintainer: Alan Orth <aorth@mjanja.ch>
pkgname=bandage
pkgver=0.9.0
pkgrel=1
pkgdesc="Bioinformatics Application for Navigating De novo Assembly Graphs Easily"
arch=('x86_64')
url="https://github.com/rrwick/Bandage"
license=('GPL3')
depends=('qt5-base' 'qt5-svg')
source=("bandage-$pkgver.tar.gz::https://github.com/rrwick/Bandage/archive/v${pkgver}.tar.gz"
"bandage.desktop")
sha256sums=('04de8152d8bf5e5aa32b41a63cf1c23e1fee7b67ccd9f1407db8dc2824ca4e30'
'0996828261389a3e060918d5d1f04f5901cf1ec210333251871d06f9e575d0e9')
build() {
cd "$srcdir/Bandage-$pkgver"
# QT5 is the current version in Arch, but I'll leave this here so we don't
# forget how to change the version when 6 comes out.
export QT_SELECT=5
qmake Bandage.pro
make
}
package() {
cd "$srcdir/Bandage-$pkgver"
install -Dm755 Bandage "$pkgdir/usr/bin/Bandage"
install -Dm644 "$srcdir/bandage.desktop" "$pkgdir/usr/share/applications/bandage.desktop"
install -Dm644 images/icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/bandage.png"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|