summaryrefslogtreecommitdiff
path: root/extra/scrot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scrot/PKGBUILD')
-rw-r--r--extra/scrot/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/scrot/PKGBUILD b/extra/scrot/PKGBUILD
new file mode 100644
index 000000000..4d6921fda
--- /dev/null
+++ b/extra/scrot/PKGBUILD
@@ -0,0 +1,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
+}