summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZJLIN2016-03-10 23:23:46 +0800
committerZJLIN2016-03-10 23:23:46 +0800
commita2353321bb50310f1d1d265b4ffab21e624880b4 (patch)
treec9ec9b6507a12efd6fe91d52b07d6c35130b7323
downloadaur-a2353321bb50310f1d1d265b4ffab21e624880b4.tar.gz
first commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be355a47986
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Thu Mar 10 15:01:41 UTC 2016
+pkgbase = trimmomatic
+ pkgdesc = Trimmomatic: A flexible read trimming tool for Illumina NGS data
+ pkgver = 0.35
+ pkgrel = 1
+ 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.35.zip
+ md5sums = 564e62f4f0f9f56d22762b237d4c69c4
+
+pkgname = trimmomatic
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..71d0f4dbb30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: ZJLIN <zjin841126@gmail.com>
+pkgname=trimmomatic
+pkgver=0.35
+pkgrel=1
+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=('564e62f4f0f9f56d22762b237d4c69c4')
+
+package() {
+ mkdir $pkgdir/opt/
+ mv $srcdir/Trimmomatic-$pkgver $srcdir/Trimmomatic
+ cp -r $srcdir/Trimmomatic/ $pkgdir/opt/
+
+ mkdir -p "${pkgdir}/usr/bin/"
+ execmd=("exec java -jar $pkgdir/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"
+}