From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/pekwm/PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 community/pekwm/PKGBUILD (limited to 'community/pekwm/PKGBUILD') diff --git a/community/pekwm/PKGBUILD b/community/pekwm/PKGBUILD new file mode 100644 index 000000000..478186965 --- /dev/null +++ b/community/pekwm/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 92159 2013-06-01 21:53:18Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Kevin Piche +# Contributor: Eddie Lozon + +pkgname=pekwm +pkgver=0.1.17 +pkgrel=1 +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/mouse_sloppy + 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') + +prepare() { + cd "$srcdir" + + gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + 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 -- cgit v1.2.3-54-g00ecf