summaryrefslogtreecommitdiff
path: root/community/pekwm
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/pekwm
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/pekwm')
-rw-r--r--community/pekwm/PKGBUILD23
-rw-r--r--community/pekwm/pekwm_kdm.desktop5
2 files changed, 9 insertions, 19 deletions
diff --git a/community/pekwm/PKGBUILD b/community/pekwm/PKGBUILD
index 478186965..8d3316ba4 100644
--- a/community/pekwm/PKGBUILD
+++ b/community/pekwm/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 92159 2013-06-01 21:53:18Z arodseth $
+# $Id: PKGBUILD 102208 2013-12-06 13:59:32Z 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.17
-pkgrel=1
+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')
+makedepends=('gendesk>=0.6')
optdepends=('lxappearance: feature-rich GTK+ theme switcher'
'nitrogen: background browser and setter'
'tint2: basic, good-looking task manager')
@@ -27,28 +27,23 @@ backup=(etc/pekwm/autoproperties
etc/pekwm/mouse_system
etc/pekwm/start
etc/pekwm/vars)
-source=("http://www.pekwm.org/projects/pekwm/files/$pkgname-$pkgver.tar.bz2"
- "${pkgname}_kdm.desktop")
-sha256sums=('8a1fd3bf9f38e8c7bb2b2864c090f986b60cec2281ecf1bba462d120fb327d00'
- '4c1817d328dad84407c9ba7219015eb3be0345be9e98fc03fa693b6b443a8dc6')
+source=("http://www.pekwm.org/projects/pekwm/files/$pkgname-$pkgver.tar.bz2")
+sha256sums=('8a1fd3bf9f38e8c7bb2b2864c090f986b60cec2281ecf1bba462d120fb327d00')
prepare() {
- cd "$srcdir"
-
- gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name PekWM
+ gendesk -f -wm --pkgname "${pkgname}_kdm" --exec "$pkgname" --name PekWM
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/xsessions/$pkgname.desktop"
install -Dm644 "$srcdir/${pkgname}_kdm.desktop" \
diff --git a/community/pekwm/pekwm_kdm.desktop b/community/pekwm/pekwm_kdm.desktop
deleted file mode 100644
index b77722d03..000000000
--- a/community/pekwm/pekwm_kdm.desktop
+++ /dev/null
@@ -1,5 +0,0 @@
-[Desktop Entry]
-Type=XSession
-Exec=pekwm
-TryExec=pekwm
-Name=PekWM