[arch-commits] Commit in scrot/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Wed Nov 30 17:39:35 EST 2011


    Date: Wednesday, November 30, 2011 @ 17:39:35
  Author: giovanni
Revision: 143962

upgpkg: scrot 0.8-5

rebuild

Modified:
  scrot/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-30 22:27:42 UTC (rev 143961)
+++ PKGBUILD	2011-11-30 22:39:35 UTC (rev 143962)
@@ -3,20 +3,26 @@
 
 pkgname=scrot
 pkgver=0.8
-pkgrel=4
+pkgrel=5
 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)
+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"
+}



More information about the arch-commits mailing list