summaryrefslogtreecommitdiff
path: root/extra/scrot/PKGBUILD
blob: e65b2eec20d281c9d0560f4ccc725da17040021c (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
# $Id: PKGBUILD 143963 2011-11-30 22:40:01Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=scrot
pkgver=0.8
pkgrel=5.1
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
}

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

  make DESTDIR=$pkgdir docsdir=/usr/share/doc/scrot install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}