summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7bb018ec19a13c97509ba312a6debf3584ec0794 (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
# Maintainer: Eugen Kuksa <eugenk@cs.uni-bremen.de>

pkgname=hets-lib
_libname=hets
pkgver=20141215.ecafeec
pkgrel=2

pkgdesc="Basic libraries and other examples for Hets"
url="https://github.com/spechub/Hets-lib"
license=('custom:hets-license')
provides=('hets-lib')
conflicts=('hets-lib')
arch=('any')
makedepends=('git')
_commit='ecafeecc94554392d70022a2d9e9fce1448298c8'
source=("${pkgname}::git+https://github.com/spechub/Hets-lib.git#commit=${_commit}")
sha512sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git log -1 --format='%cd.%h' --date=short | tr -d -
}

package() {
  install -d "$pkgdir/usr/lib/hets/$pkgname"
  cp -R "$srcdir/$pkgname" "$pkgdir/usr/lib/hets/"
}
# vim:syntax=sh