diff options
author | Saulius Lukauskas | 2015-08-05 11:47:44 +0100 |
---|---|---|
committer | Saulius Lukauskas | 2015-08-05 11:47:44 +0100 |
commit | f5135a80c2758b18b7305a66bfd6d15928df83b8 (patch) | |
tree | 56a1cf3cfbed1283ea8b5a5aad5c13e406960071 /PKGBUILD | |
download | aur-f5135a80c2758b18b7305a66bfd6d15928df83b8.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..907e94930bc5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Sauliusl <luksaulius[at]gmail[dot]com> +# Based on the pkgbuild for sickle +pkgname=scythe-git +pkgver='133.20d3cff' # At the time of packaging, overriden using the function below + +pkgrel=1 +pkgdesc="A Bayesian adapter trimmer" +arch=('i686' 'x86_64') +url="https://github.com/vsbuffalo/scythe" +license=('custom') +depends=('zlib') +source=('scythe-git::git+https://github.com/vsbuffalo/scythe.git') +md5sums=('SKIP') + +pkgver() { + # Based on awish-git + cd "${srcdir}/${pkgname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}/${pkgname}" + make all; +} + +package() { + cd "${srcdir}/${pkgname}" + install -Dm755 scythe "${pkgdir}/usr/bin/scythe" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 illumina_adapters.fa "${pkgdir}/usr/share/scythe/illumina_adapters.fa" +}
\ No newline at end of file |