Commit 3cf82373 authored by bbguimaraes's avatar bbguimaraes
Browse files

arch: remove sol2 package

parent 8ee712ff
# Maintainer: TheAifam5 <theaifam5 at gmail com>
pkgbase=sol2-git
pkgname=(sol2-git sol2-single-git)
pkgver=v3.2.1.r0.g874c8e5f
pkgrel=1
pkgdesc="C++ <-> Lua Wrapper Library"
arch=('any')
url="http://sol2.rtfd.io/"
license=('MIT')
makedepends=('git' 'python')
optdepends=('lua' 'lua51' 'lua52' 'lua53' 'luajit')
conflicts=('sol2')
provides=('sol2')
source=('sol2::git+https://github.com/ThePhD/sol2.git#tag=v3.2.1')
md5sums=('SKIP')
pkgver() {
cd sol2
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package_sol2-git() {
cd sol2
install -d $pkgdir/usr/include/sol
cp -rf ./include $pkgdir/usr
install -D --target-directory "$pkgdir/usr/lib/pkgconfig" ../../sol2.pc
}
package_sol2-single-git() {
cd sol2/single
install -d $pkgdir/usr/include/sol
python single.py --input ../include --output $pkgdir/usr/include/sol/sol.hpp
install -D --target-directory "$pkgdir/usr/lib/pkgconfig" ../../../sol2.pc
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment