blob: 28008dba6bb85a98b3d6407ee8974de842759d32 (
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
31
32
33
34
|
# Maintainer : Fenner Macrae <fmacrae.dev at gmail dot com>
_pkgname=busco
pkgname=$_pkgname-git
pkgrel=1
pkgver=3.0.0
pkgdesc="Benchmarking sets of Universal Single-Copy Orthologs"
url="https://gitlab.com/ezlab/busco"
depends=('python')
makedepends=('git' 'python-setuptools')
conflicts=('busco')
provides=('busco')
license=('MIT')
arch=('any')
source=("${_pkgname}::git+${url}.git")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
python setup.py build
}
package() {
cd "${srcdir}"/"${_pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
install -Dm755 scripts/run_BUSCO.py "${pkgdir}"/usr/bin/busco
install -Dm755 scripts/generate_plot.py "${pkgdir}"/usr/bin/busco_generate_plot
}
|