summaryrefslogtreecommitdiff
path: root/community/scrot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/scrot/PKGBUILD')
-rw-r--r--community/scrot/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/scrot/PKGBUILD b/community/scrot/PKGBUILD
new file mode 100644
index 000000000..7282f7869
--- /dev/null
+++ b/community/scrot/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 81818 2012-12-31 15:37:13Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=scrot
+pkgver=0.8
+pkgrel=6
+pkgdesc="A simple command-line screenshot utility for X"
+arch=('i686' 'x86_64')
+url="http://scrot.sourcearchive.com/"
+license=('MIT')
+depends=('giblib')
+source=("http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz")
+md5sums=('ccae904d225609571bdd3b03445c1e88')
+
+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"
+}