summaryrefslogtreecommitdiff
path: root/extra/scrot/PKGBUILD
blob: 4d6921fda67211aa5a32f8bdb6e72c2fa76a02d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 71789 2010-03-09 16:23:42Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=scrot
pkgver=0.8
pkgrel=4
pkgdesc="A simple command-line screenshot utility for X"
arch=('i686' 'x86_64')
url="http://scrot.sourcearchive.com/"
license=('MIT')
depends=('giblib')
source=(ftp://ftp.archlinux.org/other/scrot/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6a02df0e3bb26ec578dfeb8f56a7b30d')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr \
              --mandir=/usr/share/man
  make || return 1
  make DESTDIR=$pkgdir docsdir=/usr/share/doc/scrot install || return 1
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}