summaryrefslogtreecommitdiff
path: root/community/unclutter/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unclutter/PKGBUILD')
-rw-r--r--community/unclutter/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/unclutter/PKGBUILD b/community/unclutter/PKGBUILD
index 8aa45a8c8..335712607 100644
--- a/community/unclutter/PKGBUILD
+++ b/community/unclutter/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65341 2012-02-21 02:13:14Z spupykin $
+# $Id: PKGBUILD 102123 2013-12-05 14:32:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
@@ -6,20 +6,27 @@
pkgname=unclutter
pkgver=8
-pkgrel=8
+pkgrel=10
pkgdesc="A small program for hiding the mouse cursor"
url="http://ftp.x.org/contrib/utilities/unclutter-8.README"
arch=('i686' 'x86_64' 'mips64el')
license=('Public Domain')
depends=('libxext')
makedepends=('imake')
-source=(http://ftp.x.org/contrib/utilities/$pkgname-$pkgver.tar.Z)
-md5sums=('83d7a6498b69078f869378f801b6a84b')
+source=(http://ftp.x.org/contrib/utilities/$pkgname-$pkgver.tar.Z
+ http://ftp.x.org/contrib/utilities/unclutter-8.README)
+md5sums=('83d7a6498b69078f869378f801b6a84b'
+ '90ea7ff9f64945a6ca979d08a60c28dd')
build() {
cd ${srcdir}/$pkgname
xmkmf -a
make
+}
+
+package() {
+ cd ${srcdir}/$pkgname
make DESTDIR=${pkgdir} install
- install -D -m 644 unclutter.man ${pkgdir}/usr/share/man/man1/unclutter.1
+ install -Dm0644 unclutter.man ${pkgdir}/usr/share/man/man1/unclutter.1
+ install -Dm0644 $srcdir/unclutter-8.README ${pkgdir}/usr/share/licenses/$pkgname/unclutter-8.README
}