summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoralienzj2017-06-10 03:55:15 +0800
committeralienzj2017-06-10 03:55:15 +0800
commit625a3baf2b7609d9a4f970be61cf8ae3f3695a95 (patch)
tree6b9c407604b86158b2714af49fdf1d2f1d0b2899
downloadaur-625a3baf2b7609d9a4f970be61cf8ae3f3695a95.tar.gz
bioawk, happy hacking
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..6b709d822885
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Fri Jun 9 19:55:01 UTC 2017
+pkgbase = bioawk-git
+ pkgdesc = BWK awk modified for biological data
+ pkgver = 1.0.0.r44.5e8b41d
+ pkgrel = 1
+ url = https://github.com/lh3/bioawk
+ arch = i686
+ arch = x86_64
+ license = GPL
+ provides = bioawk
+ conflicts = bioawk
+ source = git://github.com/lh3/bioawk.git
+ md5sums = SKIP
+
+pkgname = bioawk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..9e46017f02c1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: alienzj <lovelornpig@gmail.com>
+
+pkgname=bioawk-git
+pkgver=1.0.0.r44.5e8b41d
+pkgrel=1
+pkgdesc="BWK awk modified for biological data"
+arch=('i686' 'x86_64')
+url="https://github.com/lh3/bioawk"
+license=('GPL')
+provides=("bioawk")
+conflicts=("bioawk")
+source=("git://github.com/lh3/bioawk.git")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$srcdir/$pkgname"
+ echo "1.0.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dm755 bioawk $pkgdir/usr/bin/bioawk
+}