summaryrefslogtreecommitdiff
path: root/community/pekwm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pekwm/PKGBUILD')
-rw-r--r--community/pekwm/PKGBUILD59
1 files changed, 32 insertions, 27 deletions
diff --git a/community/pekwm/PKGBUILD b/community/pekwm/PKGBUILD
index 5d186c20a..91bdd5575 100644
--- a/community/pekwm/PKGBUILD
+++ b/community/pekwm/PKGBUILD
@@ -1,49 +1,54 @@
-# $Id: PKGBUILD 80631 2012-11-27 14:08:01Z fyan $
-# Maintainer:
+# $Id: PKGBUILD 81762 2012-12-28 23:22:15Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Eddie Lozon <almostlucky@attbi.com>
pkgname=pekwm
pkgver=0.1.16
-pkgrel=1
-pkgdesc="A small, fast, functional, and flexible window manager"
-arch=('i686' 'x86_64')
+pkgrel=2
+pkgdesc='Small, fast, functional, and flexible window manager'
+arch=('x86_64' 'i686')
license=('GPL')
url='https://www.pekwm.org/projects/pekwm'
depends=('gcc-libs' 'libjpeg' 'libpng' 'libxft' 'libxinerama' 'libxpm' 'libxrandr')
+makedepends=('gendesk')
+optdepends=('lxappearance: feature-rich GTK+ theme switcher'
+ 'nitrogen: background browser and setter'
+ 'tint2: basic, good-looking task manager')
backup=(etc/pekwm/autoproperties
etc/pekwm/autoproperties_typerules
- etc/pekwm/config
- etc/pekwm/config_system
- etc/pekwm/keys
- etc/pekwm/menu
- etc/pekwm/mouse
- etc/pekwm/mouse_click
+ etc/pekwm/config
+ etc/pekwm/config_system
+ etc/pekwm/keys
+ etc/pekwm/menu
+ etc/pekwm/mouse
+ etc/pekwm/mouse_click
etc/pekwm/mouse_sloppy
etc/pekwm/mouse_system
- etc/pekwm/start
+ etc/pekwm/start
etc/pekwm/vars)
source=("http://www.pekwm.org/projects/pekwm/files/${pkgname}-${pkgver}.tar.bz2"
- 'pekwm.desktop')
+ "${pkgname}_kdm.desktop")
+sha256sums=('899eef35d5d1f472dd65a08c180b9719935cb1f42eda7fada6f9b8b551c79c96'
+ '4c1817d328dad84407c9ba7219015eb3be0345be9e98fc03fa693b6b443a8dc6')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- # Default settings:
- # --enable-shape --enable-xinerama --enable-menus \
- # --enable-harbour --disable-debug --disable-pedantic \
- # --enable-xft --enable-image-xpm --enable-image-jpeg \
- # --enable-image-png --enable-xrandr
- ./configure --prefix=/usr --sysconfdir=/etc
+ cd "$srcdir"
+ gendesk
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/xsessions/${pkgname}.desktop"
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/$pkgname.desktop" \
+ "$pkgdir/usr/share/xsessions/$pkgname.desktop"
+ install -Dm644 "$srcdir/${pkgname}_kdm.desktop" \
+ "$pkgdir//usr/share/apps/kdm/sessions/$pkgname.desktop"
}
-# vim: ts=2 sw=2 et ft=sh
-md5sums=('ec9bce332d0545c28f74ca4bf6b69cbb'
- '5a78fc6653fbb0b7282ecf7f1f81e2c5')
+
+# vim: ts=2 sw=2 et