diff options
author | TheAifam5 | 2019-05-28 16:05:10 +0200 |
---|---|---|
committer | TheAifam5 | 2019-05-28 16:05:10 +0200 |
commit | e3e44730ceb0525c184f484f5c3b2bb550612513 (patch) | |
tree | 5390712b8cc4e1d034982efae574709eb549a1f8 | |
parent | 5fb552442734ac479a29d9525f0743d9368cc4e6 (diff) | |
download | aur-e3e44730ceb0525c184f484f5c3b2bb550612513.tar.gz |
Copy only headers
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 4 insertions, 21 deletions
@@ -6,9 +6,6 @@ pkgbase = sol2-git arch = any license = MIT makedepends = git - makedepends = cmake - makedepends = python - makedepends = python-sphinx optdepends = lua optdepends = lua51 optdepends = lua52 @@ -7,7 +7,7 @@ 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') @@ -19,22 +19,8 @@ pkgver() { git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } -build() { - cd sol2 - 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 sol2/build - make DESTDIR="$pkgdir" install + cd sol2 + install -d $pkgdir/usr/include + cp -rf ./include $pkgdir/usr } |