From bc379762ab427518b88dc7be75720a6c62e05513 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 22 Aug 2012 17:24:24 -0500
Subject: unclutter: rebuild updated from abs

---
 abs/core/unclutter/PKGBUILD | 43 ++++++++++++++++++++-----------------------
 1 file changed, 20 insertions(+), 23 deletions(-)

diff --git a/abs/core/unclutter/PKGBUILD b/abs/core/unclutter/PKGBUILD
index 64e808d..49ba4ea 100755
--- a/abs/core/unclutter/PKGBUILD
+++ b/abs/core/unclutter/PKGBUILD
@@ -1,28 +1,25 @@
+# $Id: PKGBUILD 65341 2012-02-21 02:13:14Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
+# Contributor: Anthony Martin <ality@pbrane.org>
+
 pkgname=unclutter
 pkgver=8
-pkgrel=5
-pkgdesc="Hides mouse cursor when not in use"
-url="http://www.x.org/contrib/utilities/unclutter-8.README"
-license="GPL"
-depends=(x-server)
-makedepends=()
-conflicts=()
-replaces=()
-backup=(etc/unclutter.cfg)
-install=
-arch='i686'
-source=(ftp://ftp.x.org/contrib/utilities/$pkgname-$pkgver.tar.Z unclutter.cfg)
-
+pkgrel=9
+pkgdesc="A small program for hiding the mouse cursor"
+url="http://ftp.x.org/contrib/utilities/unclutter-8.README"
+arch=('i686' 'x86_64')
+license=('Public Domain')
+depends=('libxext')
+makedepends=('imake')
+source=(http://ftp.x.org/contrib/utilities/$pkgname-$pkgver.tar.Z)
 
 build() {
-  cd $startdir/src/$pkgname
-  make LDLIBS=-L/usr/X11R6/lib || return 1
-  mkdir -p $startdir/pkg/usr/X11R6/bin
-  make DESTDIR=$startdir/pkg BINDIR=$startdir/pkg/usr/X11R6/bin install
-  mkdir -p $startdir/pkg/etc
-  cp -f  $startdir/src/unclutter.cfg $startdir/pkg/etc/unclutter.cfg
+  cd ${srcdir}/$pkgname
+  xmkmf -a
+  make
+  make DESTDIR=${pkgdir} install
+  install -D -m 644 unclutter.man ${pkgdir}/usr/share/man/man1/unclutter.1
 }
-md5sums=('83d7a6498b69078f869378f801b6a84b'
-         '7277205ebd875a0175a5fdb184c6373c')
-md5sums=('83d7a6498b69078f869378f801b6a84b'
-         '07815312d084a31595cd90ab45c68727')
+md5sums=('83d7a6498b69078f869378f801b6a84b')
-- 
cgit v0.12

