From 5dcaebcd69bbc1485c6c9a43177710eaeb7b51df Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 22 Aug 2024 10:45:07 +0300 Subject: [PATCH] fix: openbox package script cleanup --- src/openbox/pkg.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/openbox/pkg.sh b/src/openbox/pkg.sh index a0ef40f..56c8f47 100644 --- a/src/openbox/pkg.sh +++ b/src/openbox/pkg.sh @@ -6,22 +6,25 @@ FILES=("http://openbox.org/dist/openbox/openbox-${VERSION}.tar.gz") HASHES=("b72794996c6a3ad94634727b95f9d204") DEPENDS=( - "pango" "dbus" "imlib2" "librsvg" - "imagemagick" "pypi-pyxdg" "startup-notification" + "imlib2" "librsvg" "libsm" + "libxcursor" "libxinerama" "libxml2" + "libxrandr" "pango" "startup-notification" ) +BUILD=("python3") PACKAGE() { tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" - 2to3-3.11 -w data/autostart/openbox-xdg-autostart + 2to3 -w data/autostart/openbox-xdg-autostart sed 's/python/python3/' -i data/autostart/openbox-xdg-autostart ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --docdir="/usr/share/doc/openbox-${VERSION}" - make && make DESTDIR="${ROOTDIR}" install + make + make DESTDIR="${ROOTDIR}" install rm -v "${ROOTDIR}/usr/share/xsessions/openbox-"{gnome,kde}.desktop cd .. && rm -r "${NAME}-${VERSION}"