🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
pkgname: openbox
pkgver: '3.6.1'
pkgrel: '10'
pkgdesc: 'Openbox is a highly configurable window manager.'
url: 'http://openbox.org/wiki/Main_Page'
arch: x86_64
license:
- GPL
depends:
- 'startup-notification'
- dbus
makedepends:
- autoconf
- sed
- grep
- pcre2
- pango
- freetype
- libpng
- 'xorg-fontconfig'
- harfbuzz
- imlib2
- librsvg
- 'xcb-util'
- libxcb
- libxml2
source:
- 'https://openbox.org/dist/openbox/${pkgname}-${pkgver}.tar.gz'
- 'openbox.xinitrc'
- 'openbox-3.6.1-consolidate-1.patch'
sha256sums:
- SKIP
- SKIP
- SKIP
build: |
cd ${pkgname}-${pkgver}
patch -Np1 -i ../openbox-3.6.1-consolidate-1.patch
autoreconf -ifv
./configure --prefix=/usr \
--sysconfdir=/etc \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make
make DESTDIR=${PKGDIR} install
install -D -m644 ../openbox.xinitrc ${PKGDIR}/etc/X11/dm/openbox.xinitrc
# Thoses are obsolet launchers
rm ${PKGDIR}/usr/share/xsessions/openbox-{gnome,kde}.desktop
rm -r ${PKGDIR}/usr/share/gnome-session
# Obsolets libs
rm -f ${PKGDIR}/usr/lib/libobrender.la
rm -f ${PKGDIR}/usr/lib/libobt.la
package: |
true