summaryrefslogtreecommitdiff
path: root/extra/scrot/PKGBUILD
blob: d093c845715b2353da8c2dbf64440008717976b1 (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' 'mips64el')
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
}