[arch-commits] Commit in windowmaker/trunk (PKGBUILD wmaker.desktop)

Daniel Isenmann daniel at archlinux.org
Mon Jan 9 18:40:46 UTC 2012


    Date: Monday, January 9, 2012 @ 13:40:45
  Author: daniel
Revision: 146320

upgpkg: windowmaker 0.95.0-1

New upstream release, changed to 0.95.0 git tag from wmaker-crm

Added:
  windowmaker/trunk/wmaker.desktop
Modified:
  windowmaker/trunk/PKGBUILD

----------------+
 PKGBUILD       |   41 ++++++++++++++++++++---------------------
 wmaker.desktop |    5 +++++
 2 files changed, 25 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-09 17:51:25 UTC (rev 146319)
+++ PKGBUILD	2012-01-09 18:40:45 UTC (rev 146320)
@@ -2,34 +2,33 @@
 # Maintainer: Daniel Isenmann <daniel at archlinux.org>
 # Contributor: Judd Vinet <jvinet at zeroflux.org>
 pkgname=windowmaker
-pkgver=0.92.0
-pkgrel=8
+pkgver=0.95.0
+pkgrel=1
 pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
 arch=(i686 x86_64)
-url="http://www.windowmaker.info/"
+url="http://www.windowmaker.org/"
 license=('GPL' 'custom')
-depends=('libxinerama' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
+depends=('libxinerama' 'libxrandr' 'libxmu' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
 options=('!libtool')
-source=(http://windowmaker.info/pub/source/release/WindowMaker-$pkgver.tar.bz2 windowmaker-gcc4.patch.tar.bz2 libpng-1.4.patch)
-md5sums=('aaac5421b686ed2d3e6ab65229c98097' 'd9fb6a9c255f5c03d0e0c83dc3cd2320'\
-         '409173062955f4a527d88cd7a007efa7')
-sha1sums=('4f7fea6f40b9ba9f870d2e2f0ce46274750edb2c' '764aa4883b289994177fd3735541d050fda5bcdb'\
-         '027e1d06360fa38fe95afab6e73b7e9f144da687')
+source=(ftp://ftp.archlinux.org/other/windowmaker/windowmaker-$pkgver.tar.gz wmaker.desktop)  
+md5sums=('2d89834b4019e0a08641709ea7235db2'
+         '2fba97bebfd691836b92b8f0db79ff13')
 
 build() {
-  cd $srcdir/WindowMaker-$pkgver
-  patch -p1 < ../libpng-1.4.patch || return 1
-  patch -Np1 -i ../windowmaker-gcc4.patch || return 1
-  libtoolize --force --copy || return 1
-  aclocal || return 1
-  autoconf || return 1
-  automake || return 1
+  cd $srcdir/windowmaker-$pkgver
   [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
-  ./configure --prefix=/usr --sysconfdir=/etc \
-    --with-gnustepdir=/usr/lib/GNUstep --with-nlsdir=/usr/share/locale \
-    --enable-xinerama  || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama \
+    --with-nlsdir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep \
+    --enable-usermenu --enable-modelock --enable-xrandr
+  make
+}
+
+package() {
+  cd $srcdir/windowmaker-$pkgver
+  
+  make DESTDIR=$pkgdir install
   install -D -m644 COPYING.WTFPL $pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL
+  install -D -m644 $srcdir/wmaker.desktop $pkgdir/usr/share/xsessions/wmaker.desktop
 }
 

Added: wmaker.desktop
===================================================================
--- wmaker.desktop	                        (rev 0)
+++ wmaker.desktop	2012-01-09 18:40:45 UTC (rev 146320)
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=windowmaker
+Exec=/usr/bin/wmaker
+Type=Application




More information about the arch-commits mailing list