makedeb


awesome-git 1c539e0e2022.03.21-2


Highly configurable framework window manager

Click here to go back to the commit logs for awesome-git.

Commit:


Hash: 04df89862edc4b63c5edb8157c4314bf1c389353

Message: minor fix

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 65ba3ae..71d3c32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,6 +21,7 @@ backup=('etc/xdg/awesome/rc.lua')
 source=("$pkgname::git+https://github.com/awesomeWM/awesome.git")
 md5sums=('SKIP')
 _LUA_VER=5.3
+MAKEFLAGS="-j$(nproc)"
 
 pkgver() {
   cd ${pkgname}
@@ -30,26 +31,26 @@ pkgver() {
     printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
-#build() {
-  #mkdir -p build
-  #cd build
+build() {
+  mkdir -p build
+  cd build
 
   #CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLUA_INCLUDE_DIR=/usr/include/lua${_LUA_VER} -DLUA_LIBRARY=/usr/lib/liblua.so.${_LUA_VER} -DLUA_EXECUTABLE=/usr/bin/lua${_LUA_VER}" make 
-  #cmake ../$pkgname \
-   #-DCMAKE_BUILD_TYPE=RELEASE \
-    #-DCMAKE_INSTALL_PREFIX=/usr \
-    #-DSYSCONFDIR=/etc \
-    #-DLUA_INCLUDE_DIR=/usr/include/lua${_LUA_VER} \
-    #-DLUA_LIBRARY=/usr/lib/liblua.so.${_LUA_VER} \
-    #-DLUA_EXECUTABLE=/usr/bin/lua${_LUA_VER}
-  #make
-#}
+  cmake ../$pkgname \
+   -DCMAKE_BUILD_TYPE=RELEASE \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DSYSCONFDIR=/etc \
+    -DLUA_INCLUDE_DIR=/usr/include/lua${_LUA_VER} \
+    -DLUA_LIBRARY=/usr/lib/x86_64-linux-gnu/liblua${_LUA_VER}.so.0 \
+    -DLUA_EXECUTABLE=/usr/bin/lua${_LUA_VER}
+  make
+}
 package() {
-  #cd build
-  cd ${pkgname}
+  cd build
+  #cd ${pkgname}
   #make 
 
-  CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr" make 
+  #CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr" make 
 
   make DESTDIR="$pkgdir" install