summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 927c31175b9ff26855ee6cd10e119f278b05303c (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
# Maintainer: TheAifam5 <theaifam5 at gmail com>

pkgname=sol2-git
pkgver=v3.0.2.r1.ge256012d
pkgrel=1
pkgdesc="C++ <-> Lua Wrapper Library"
arch=('any')
url="http://sol2.rtfd.io/"
license=('MIT')
makedepends=('git')
optdepends=('lua' 'lua51' 'lua52' 'luajit')
conflicts=('sol2')
provides=('sol2')
source=('sol2::git+https://github.com/ThePhD/sol2.git')
md5sums=('SKIP')

pkgver() {
  cd sol2
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd sol2
  install -d $pkgdir/usr/include
  cp -rf ./include $pkgdir/usr
}