summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ac33311047d2b973c3ca22eed7161430d1067e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: