mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# $Id: PKGBUILD 30687 2009-03-21 10:35:46Z allan $
|
|
# Maintainer: tobias <tobias@archlinux.org>
|
|
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
|
|
|
pkgname=openbox
|
|
pkgver=3.4.7.2
|
|
pkgrel=2
|
|
pkgdesc="A window manager for the X11 windowing system"
|
|
arch=('arm')
|
|
license=('GPL')
|
|
depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr' \
|
|
'libxcursor' 'pango')
|
|
optdepends=('pyxdg: for the xdg-autostart script')
|
|
url="http://icculus.org/openbox"
|
|
install=openbox.install
|
|
options=('!libtool')
|
|
backup=('usr/etc/xdg/openbox/menu.xml' 'usr/etc/xdg/openbox/rc.xml')
|
|
source=(http://www.icculus.org/openbox/releases/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('9e7589e90519bc6ac2f4656ea6869439')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --with-x \
|
|
--enable-startup-notification --sysconfdir=/etc
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install
|
|
sed -i "s:startkde:/opt/kde/bin/\0:" ${startdir}/pkg/usr/share/xsessions/openbox-kde.desktop
|
|
sed -i "s:=gnome-session:=/usr/bin/gnome-session:" ${startdir}/pkg/usr/share/xsessions/openbox-gnome.desktop
|
|
}
|