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: 4f3fef8aaef61ab256bd67d4ca24439c7ddd94f6

Message: added some dependencies

Diff


diff --git a/.SRCINFO b/.SRCINFO
index aae2110..ff66795 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -45,6 +45,7 @@ pkgbase = awesome-git
 	makedepends = libxcb-shape0-dev
 	makedepends = libxcb-xfixes0-dev
 	makedepends = xutils-dev
+	makedepends = libluajit-5.1-dev
 	depends = lua5.3
 	depends = liblua5.3-0
 	depends = asciidoctor
@@ -58,6 +59,8 @@ pkgbase = awesome-git
 	depends = xorg
 	depends = xvfb
 	depends = lua-discount
+	depends = luajit
+	depends = luarocks
 	optdepends = rlwrap: readline support for awesome-client
 	optdepends = dex: autostart your desktop files
 	optdepends = librsvg2-bin: for displaying SVG files without scaling artifacts
diff --git a/PKGBUILD b/PKGBUILD
index 06a759f..7483759 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@ pkgdesc='Highly configurable framework window manager'
 arch=('i686' 'x86_64')
 url='http://awesome.naquadah.org/'
 license=('GPL2')
-depends=('lua5.3' 'liblua5.3-0' 'asciidoctor' 'lua-doc' 'dbus-x11' 'libnotify-bin' 'wmctrl' 'x11-apps'  'xcb-proto' 'xdotool' 'xorg'  'xvfb'  'lua-discount')
-makedepends=('gir1.2-pango-1.0' 'gir1.2-gtk-3.0' 'git' 'gzip' 'lua-ldoc' 'imagemagick' 'asciidoc' 'xmlto' 'cmake' 'lua-busted' 'lua-check' 'liblua5.3-dev' 'libxcb-cursor-dev' 'libxcb-xtest0-dev' 'libxcb-util0-dev' 'libxcb-keysyms1-dev' 'libxcb-icccm4-dev' 'libxcb-xkb-dev' 'libxkbcommon-dev' 'libstartup-notification0-dev' 'libxdg-basedir-dev' 'libxcb-xrm-dev' 'libxkbcommon-x11-dev' 'lua-lgi-dev' 'libglib2.0-dev' 'libgdk-pixbuf2.0-dev' 'libghc-cairo-dev'  'libxcb-xinerama0-dev' 'gettext' 'libdbus-1-dev' 'libgirepository1.0-dev' 'libpango1.0-dev' 'libx11-xcb-dev' 'libxcb-randr0-dev' 'libxcb-shape0-dev' 'libxcb-xfixes0-dev' 'xutils-dev')
+depends=('lua5.3' 'liblua5.3-0' 'asciidoctor' 'lua-doc' 'dbus-x11' 'libnotify-bin' 'wmctrl' 'x11-apps'  'xcb-proto' 'xdotool' 'xorg'  'xvfb'  'lua-discount' 'luajit' 'luarocks')
+makedepends=('gir1.2-pango-1.0' 'gir1.2-gtk-3.0' 'git' 'gzip' 'lua-ldoc' 'imagemagick' 'asciidoc' 'xmlto' 'cmake' 'lua-busted' 'lua-check' 'liblua5.3-dev' 'libxcb-cursor-dev' 'libxcb-xtest0-dev' 'libxcb-util0-dev' 'libxcb-keysyms1-dev' 'libxcb-icccm4-dev' 'libxcb-xkb-dev' 'libxkbcommon-dev' 'libstartup-notification0-dev' 'libxdg-basedir-dev' 'libxcb-xrm-dev' 'libxkbcommon-x11-dev' 'lua-lgi-dev' 'libglib2.0-dev' 'libgdk-pixbuf2.0-dev' 'libghc-cairo-dev'  'libxcb-xinerama0-dev' 'gettext' 'libdbus-1-dev' 'libgirepository1.0-dev' 'libpango1.0-dev' 'libx11-xcb-dev' 'libxcb-randr0-dev' 'libxcb-shape0-dev' 'libxcb-xfixes0-dev' 'xutils-dev' 'libluajit-5.1-dev')
 optdepends=('rlwrap: readline support for awesome-client'
             'dex: autostart your desktop files'
             'librsvg2-bin: for displaying SVG files without scaling artifacts'
@@ -33,7 +33,7 @@ pkgver() {
 #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 \
@@ -49,9 +49,9 @@ package() {
   cd ${pkgname}
   #make 
 
-  CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr" make 
+  CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr" make -j 4
 
-  #make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install
 
   install -Dm644 "$srcdir"/$pkgname/awesome.desktop \
     "$pkgdir/usr/share/xsessions/awesome.desktop"