summaryrefslogtreecommitdiff
path: root/community/xautolock/PKGBUILD
blob: 52b0e878db59a31c7efee63b060872665717a508 (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
# $Id: PKGBUILD 64681 2012-02-17 18:30:55Z bluewind $
# Maintainer: Florian Pritz <f-p@gmx.at>
# Contributor: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=xautolock
pkgver=2.2
pkgrel=3
pkgdesc="An automatic X screen-locker/screen-saver"
arch=(i686 x86_64 'mips64el')
url="ftp://ibiblio.org/pub/Linux/X11/screensavers/"
license=('GPL2')
depends=('libxss')
makedepends=('imake')
source=("ftp://ibiblio.org/pub/Linux/X11/screensavers/$pkgname-$pkgver.tgz")
md5sums=('9526347a202694ad235d731d9d3de91f')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  xmkmf
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  make DESTDIR="$pkgdir" install.man
}