summaryrefslogtreecommitdiff
path: root/extra/scrot
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
commit3383a1fbd954b78716dd8ff9d9f2097e176d2279 (patch)
tree68aa3acbd50e6d0d7bdcfa2947d1772f7edb8a0d /extra/scrot
parent7f3d7e2203a9252280361a1d095528cb056d08dc (diff)
parent9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/packagekit/PKGBUILD community/liboglappth/PKGBUILD community/texvc/PKGBUILD extra/libvdpau/PKGBUILD extra/minicom/PKGBUILD extra/muparser/PKGBUILD extra/netkit-bsd-finger/PKGBUILD extra/normalize/PKGBUILD
Diffstat (limited to 'extra/scrot')
-rw-r--r--extra/scrot/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/extra/scrot/PKGBUILD b/extra/scrot/PKGBUILD
index d093c8457..6608526b1 100644
--- a/extra/scrot/PKGBUILD
+++ b/extra/scrot/PKGBUILD
@@ -1,22 +1,28 @@
-# $Id: PKGBUILD 71789 2010-03-09 16:23:42Z giovanni $
+# $Id: PKGBUILD 143963 2011-11-30 22:40:01Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=scrot
pkgver=0.8
-pkgrel=4
+pkgrel=5
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)
+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
+ 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"
}