|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2011-2017 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2011-2017,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-awesome} |
|
|
|
|
VERSION=${VERSION:-4.2} |
|
|
|
|
VERSION=${VERSION:-4.3} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-https://github.com/awesomeWM/awesome-releases/raw/master/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -71,12 +71,12 @@ echo "Building $ARCHIVE..."
|
|
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
|
cd $NAME |
|
|
|
|
mkdir build && cd build |
|
|
|
|
LDFLAGS="-ldl" \ |
|
|
|
|
cmake \ |
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \ |
|
|
|
|
-DSYSCONFDIR=/etc \ |
|
|
|
|
-DAWESOME_DOC_PATH=/usr/doc/$NAME \ |
|
|
|
|
-DAWESOME_MAN_PATH=/usr/man \ |
|
|
|
|
-DCMAKE_EXE_LINKER_FLAGS="-ldl" \ |
|
|
|
|
.. |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install/strip DESTDIR=$PKG |
|
|
|
@ -108,9 +108,9 @@ install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
|
|
|
|
|
|
|
|
|
|
# Add dependency infos |
|
|
|
|
cat <<EOF > $PKG/install/slack-required |
|
|
|
|
lgi |
|
|
|
|
libxdg-basedir |
|
|
|
|
libxkbcommon |
|
|
|
|
lgi |
|
|
|
|
xcb-util-xrm |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|