summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Abdollahzadeh2018-07-30 16:19:49 +0430
committerMohammadreza Abdollahzadeh2018-07-30 16:19:49 +0430
commitfb9ec862ce6fff9414c4a4910448f1dc516e7154 (patch)
treebf892d3ae3c72c623f062f07c6db534b8d7d3a46
downloadaur-fb9ec862ce6fff9414c4a4910448f1dc516e7154.tar.gz
initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD32
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fc1af42e68b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Mon Jul 30 11:49:31 UTC 2018
+pkgbase = gse2mseed
+ pkgdesc = Convert GSE 2.x/IMS 1.x seismic time series to miniSEED.
+ pkgver = 1.13
+ pkgrel = 1
+ url = https://github.com/iris-edu/gse2mseed
+ arch = x86_64
+ license = GPL3
+ depends = libmseed
+ source = gse2mseed-1.13.tar.gz::https://github.com/iris-edu/gse2mseed/archive/v1.13.tar.gz
+ sha256sums = 847dc5554cc10a0cecb2bd6662702268aff2815ddf19c4520f7b9dc3510ee0d3
+
+pkgname = gse2mseed
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..55b77b90f0f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
+pkgname=gse2mseed
+pkgver=1.13
+pkgrel=1
+pkgdesc="Convert GSE 2.x/IMS 1.x seismic time series to miniSEED."
+arch=("x86_64")
+url="https://github.com/iris-edu/gse2mseed"
+license=('GPL3')
+depends=('libmseed')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('847dc5554cc10a0cecb2bd6662702268aff2815ddf19c4520f7b9dc3510ee0d3')
+
+prepare() {
+ cd "${pkgname}-${pkgver}/src"
+ sed -i 's|GCCFLAGS = -g -O2 -Wall -I../libmseed||' Makefile
+ sed -i 's|REQCFLAGS = -I../libmseed||' Makefile
+ sed -i 's|LDFLAGS = -L../libmseed||' Makefile
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/src"
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -d ${pkgdir}/usr/{bin,share/man/man1}
+ cp gse2mseed ${pkgdir}/usr/bin/
+ cp doc/gse2mseed.1 ${pkgdir}/usr/share/man/man1/
+}
+# vim:set ts=2 sw=2 et: