summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 701afabd2fbb1dab344680c5b5afe0fd18d825ed (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
34
35
36
37
38
39
40
41
# Maintainer: Mingkai Dong <mingkaidong@gmail.com>

pkgname=gf-complete-git
pkgver=a6862d1
pkgrel=1
pkgdesc="A library implements every Galois Field multiplication technique applicable to erasure coding for storage"
arch=('i686' 'x86_64')
url="https://github.com/ceph/gf-complete"
license=('custom')
#depends=('adb' 'fuse')
makedepends=('git' 'make' 'gcc')
source=()
md5sums=()

source=('git+https://github.com/ceph/gf-complete.git#branch=master')
_pkgname=gf-complete
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git rev-parse --short HEAD
}

build() {
  cd $_pkgname

  msg "Starting automake..."

  ./autogen.sh
  ./configure

  msg "Starting make..."
  make
}

package() {
  cd $_pkgname
  make DESTDIR="$pkgdir/" install
  # msg "Moving libgf_complete.la..."
  # install ./src/libgf_complete.la $pkgdir/usr/local/lib/libgf_complete.la
}