summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTzu-Chieh Lin2017-03-15 14:34:08 +0800
committerTzu-Chieh Lin2017-03-15 14:34:08 +0800
commit43412a1a82099b11468528ae464497c31d190062 (patch)
tree870a36a5a5dfaafab5c69aca38e493cefd0f3663
parent2c5a9ea43eaec73bc9ab8a6438f1ba7a6fedf2ad (diff)
downloadaur-43412a1a82099b11468528ae464497c31d190062.tar.gz
fix exec script
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef6e6afefa6..d22600d9f8a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = trimmomatic
pkgdesc = Trimmomatic: A flexible read trimming tool for Illumina NGS data
pkgver = 0.36
- pkgrel = 1
+ pkgrel = 2
url = http://www.usadellab.org/cms/?page=trimmomatic
arch = any
license = GPL3
depends = java-environment>=6
source = http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-0.36.zip
+ source = trimmomatic
md5sums = 8549130d86b6f0382b1a71a2eb45de39
+ md5sums = 688d7880e8fb1d46f7a35ed385d60acd
pkgname = trimmomatic
diff --git a/PKGBUILD b/PKGBUILD
index 3c61785b93c..e79bf872262 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,17 @@
# Maintainer: ZJLIN <zjin841126@gmail.com>
pkgname=trimmomatic
pkgver=0.36
-pkgrel=1
+pkgrel=2
pkgdesc='Trimmomatic: A flexible read trimming tool for Illumina NGS data'
arch=('any')
url="http://www.usadellab.org/cms/?page=trimmomatic"
license=('GPL3')
depends=('java-environment>=6')
-source=("http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-$pkgver.zip")
-md5sums=('8549130d86b6f0382b1a71a2eb45de39')
+source=("http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-$pkgver.zip"
+ "trimmomatic"
+ )
+md5sums=('8549130d86b6f0382b1a71a2eb45de39'
+ '688d7880e8fb1d46f7a35ed385d60acd')
package() {
mkdir $pkgdir/opt/
@@ -16,8 +19,5 @@ package() {
cp -r $srcdir/Trimmomatic/ $pkgdir/opt/
mkdir -p "${pkgdir}/usr/bin/"
- execmd=("exec java -jar /opt/Trimmomatic/trimmomatic-$pkgver.jar"' "$@"')
- echo $execmd > $pkgdir/opt/Trimmomatic/trimmomatic
- chmod 755 $pkgdir/opt/Trimmomatic/trimmomatic
- ln -s "/opt/Trimmomatic/trimmomatic" "${pkgdir}/usr/bin"
+ install $srcdir/trimmomatic $pkgdir/usr/bin
}