summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgdgsc2017-11-02 15:04:36 +0800
committerxgdgsc2017-11-02 15:04:36 +0800
commit78a3be4fa86e5248fda65800aad43697b01efe5a (patch)
treef6132e2bc7f57ec242699a57d9417f89395f7b75
downloadaur-libeemd-git.tar.gz
add
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c60b451781e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Nov 2 07:02:35 UTC 2017
+pkgbase = libeemd-git
+ pkgdesc = a C library for performing the ensemble empirical mode decomposition
+ pkgver = 117.4aaaea9
+ pkgrel = 1
+ url = https://bitbucket.org/luukko/libeemd
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = make
+ makedepends = gcc
+ depends = gsl
+ source = libeemd::git+https://bitbucket.org/luukko/libeemd.git
+ sha512sums = SKIP
+
+pkgname = libeemd-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8ac33311047
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: xgdgsc at gmail.com
+
+pkgname=libeemd-git
+_pkgname=libeemd
+pkgver=117.4aaaea9
+pkgrel=1
+pkgdesc="a C library for performing the ensemble empirical mode decomposition"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/luukko/libeemd"
+license=('GPL3')
+# options=(!libtool)
+depends=('gsl')
+makedepends=('make' 'gcc')
+source=("${_pkgname}::git+https://bitbucket.org/luukko/libeemd.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make PREFIX="${pkgdir}/usr" install
+ # install -D -m644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT"
+}
+
+# vim:set ts=2 sw=2 et: