diff options
author | Fenner Macrae | 2018-04-21 13:57:16 -0700 |
---|---|---|
committer | Fenner Macrae | 2018-04-21 13:57:16 -0700 |
commit | 6aefdee6a92db2d15dbcfd9bf046fa0b10b86939 (patch) | |
tree | 3073744725242a58f9948f1b88fb9b64b698e6ae | |
download | aur-6aefdee6a92db2d15dbcfd9bf046fa0b10b86939.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..502aa9020704 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = busco-git + pkgdesc = Benchmarking sets of Universal Single-Copy Orthologs + pkgver = 3.0.0 + pkgrel = 1 + url = https://gitlab.com/ezlab/busco + arch = any + license = MIT + makedepends = git + makedepends = python-setuptools + depends = python + provides = busco + conflicts = busco + source = busco::git+https://gitlab.com/ezlab/busco.git + md5sums = SKIP + +pkgname = busco-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6dc5a37e039d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# 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" +} |