diff options
author | TheAifam5 | 2019-05-28 16:06:51 +0200 |
---|---|---|
committer | TheAifam5 | 2019-05-28 16:06:51 +0200 |
commit | 750955ead5b9af93b1d12595ee7a841f42798b5b (patch) | |
tree | f0cad91292da9ad0f71bdd09b8620db7de08c6d0 | |
parent | 9f14aac675652e30256c17cf5cb434dd30ab7348 (diff) | |
download | aur-750955ead5b9af93b1d12595ee7a841f42798b5b.tar.gz |
Copy only headers
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 5 insertions, 23 deletions
@@ -1,14 +1,11 @@ pkgbase = sol2 pkgdesc = C++ <-> Lua Wrapper Library pkgver = v3.0.2 - pkgrel = 1 + pkgrel = 2 url = http://sol2.rtfd.io/ arch = any license = MIT makedepends = git - makedepends = cmake - makedepends = python - makedepends = python-sphinx optdepends = lua optdepends = lua51 optdepends = lua52 @@ -3,34 +3,19 @@ _pkgver=3.0.2 pkgname=sol2 pkgver=v${_pkgver} -pkgrel=1 +pkgrel=2 pkgdesc="C++ <-> Lua Wrapper Library" arch=('any') url="http://sol2.rtfd.io/" license=('MIT') -makedepends=('git' 'cmake' 'python' 'python-sphinx') +makedepends=('git') optdepends=('lua' 'lua51' 'lua52' 'luajit') conflicts=('sol2') provides=('sol2') source=("https://github.com/ThePhD/sol2/archive/$pkgver.tar.gz") sha256sums=('6265ade1efd5b1133d71fa3b81fd0214ccf964992a8cbab3dfae650a00ed0258') -build() { - cd "$pkgname-$_pkgver" - rm -rf build - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \ - -DSOL2_BUILD_LUA=OFF \ - -DSOL2_GENERATE_SINGLE=ON \ - -DBUILD_LUA_AS_DLL=OFF - make -} - package() { - cd "$pkgname-$_pkgver/build" - make DESTDIR="$pkgdir" install + install -d $pkgdir/usr/include + cp -rf ./$pkgname-$_pkgver/include $pkgdir/usr } |