blob: 605b192e682fef770a90151ee60384d4bdabe88d (
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: TheAifam5 <theaifam5 at gmail com>
pkgbase=sol2
pkgname=(sol2 sol2-single)
pkgver=3.0.3
pkgrel=1
pkgdesc="C++ <-> Lua Wrapper Library"
arch=('any')
options=(!strip)
url="http://sol2.rtfd.io/"
license=('MIT')
makedepends=('git' 'python')
optdepends=('lua' 'lua51' 'lua52' 'luajit')
conflicts=('sol2')
provides=('sol2')
source=("https://github.com/ThePhD/sol2/archive/v$pkgver.tar.gz")
sha256sums=('bf089e50387edfc70063e24fd7fbb693cceba4a50147d864fabedd1b33483582')
package_sol2() {
cd "./$pkgbase-$pkgver"
install -d $pkgdir/usr/include/sol
cp -rf ./include $pkgdir/usr
}
package_sol2-single() {
cd "./$pkgbase-$pkgver/single"
install -d $pkgdir/usr/include/sol
python single.py --input ../include --output $pkgdir/usr/include/sol/sol.hpp
}
|