summaryrefslogtreecommitdiff
path: root/community/unclutter/PKGBUILD
blob: 335712607c65359ca7adbef4df81f764e6fb2c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $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>
# Contributor: Anthony Martin <ality@pbrane.org>

pkgname=unclutter
pkgver=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
	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 -Dm0644 unclutter.man ${pkgdir}/usr/share/man/man1/unclutter.1
  install -Dm0644 $srcdir/unclutter-8.README ${pkgdir}/usr/share/licenses/$pkgname/unclutter-8.README
}