2010-01-08 14:28:18 +00:00
|
|
|
# Template file for 'openbox'
|
|
|
|
pkgname=openbox
|
2012-01-16 16:22:47 +00:00
|
|
|
version=3.5.0
|
2013-07-28 16:23:07 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2010-01-08 14:28:18 +00:00
|
|
|
configure_args="--enable-startup-notification"
|
2013-04-14 03:01:48 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="startup-notification-devel libxml2-devel libXrandr-devel
|
|
|
|
libXcursor-devel libXinerama-devel imlib2-devel pango-devel"
|
2010-01-08 14:28:18 +00:00
|
|
|
short_desc="Standards compliant, fast, light-weight, extensible window manager"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 16:22:47 +00:00
|
|
|
license="GPL-2"
|
2013-04-14 03:01:48 +00:00
|
|
|
homepage="http://www.openbox.org"
|
|
|
|
distfiles="http://icculus.org/openbox/releases/$pkgname-$version.tar.gz"
|
2012-01-16 16:22:47 +00:00
|
|
|
checksum=6fa90016530b3aa6102e254079461977439398531fb23e7ec076ff2c140fea0a
|
2010-01-08 14:28:18 +00:00
|
|
|
long_desc="
|
|
|
|
Openbox works with your applications, and makes your desktop easier to
|
|
|
|
manage. This is because the approach to its development was the opposite of
|
|
|
|
what seems to be the general case for window managers. Openbox was written
|
|
|
|
first to comply with standards and to work properly. Only when that was in
|
|
|
|
place did the team turn to the visual interface.
|
|
|
|
|
|
|
|
Openbox is fully functional as a stand-alone working environment, or can be
|
|
|
|
used as a drop-in replacement for the default window manager in the GNOME
|
|
|
|
or KDE desktop environments.
|
|
|
|
|
|
|
|
Some of the things to look for in Openbox are:
|
|
|
|
|
|
|
|
* ICCCM and EWMH compliance!
|
|
|
|
* Very fast
|
|
|
|
* Chainable key bindings
|
|
|
|
* Customizable mouse actions
|
|
|
|
* Window resistance
|
|
|
|
* Multi-head Xinerama support!
|
|
|
|
* Pipe menus"
|
|
|
|
|
2012-01-16 17:25:27 +00:00
|
|
|
post_install() {
|
2013-07-28 16:23:07 +00:00
|
|
|
rm ${DESTDIR}/usr/bin/{gdm-control,gnome-panel-control}
|
|
|
|
|
|
|
|
sed -i 's:startkde:/usr/bin/\0:' \
|
|
|
|
${DESTDIR}/usr/share/xsessions/openbox-kde.desktop
|
|
|
|
sed -i 's:=gnome-session:=/usr/bin/gnome-session:' \
|
|
|
|
${DESTDIR}/usr/share/xsessions/openbox-gnome.desktop
|
2012-01-16 17:25:27 +00:00
|
|
|
}
|
2013-04-14 03:01:48 +00:00
|
|
|
|
|
|
|
openbox-devel_package() {
|
|
|
|
depends="libopenbox>=${version}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-28 16:23:07 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 03:01:48 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libopenbox_package() {
|
|
|
|
short_desc="openbox runtime shared libraries"
|
|
|
|
pkg_install() {
|
2013-07-28 16:23:07 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 03:01:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
openbox_package() {
|
|
|
|
conf_files="
|
|
|
|
/etc/xdg/openbox/menu.xml
|
|
|
|
/etc/xdg/openbox/rc.xml
|
|
|
|
/etc/xdg/openbox/environment
|
|
|
|
/etc/xdg/openbox/autostart"
|
|
|
|
pkg_install() {
|
2013-07-28 16:23:07 +00:00
|
|
|
vmove all
|
2013-04-14 03:01:48 +00:00
|
|
|
}
|
|
|
|
}
|