From 1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Feb 2012 23:15:20 +0000 Subject: Wed Feb 22 23:15:20 UTC 2012 --- community/sloccount/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'community/sloccount') diff --git a/community/sloccount/PKGBUILD b/community/sloccount/PKGBUILD index 268e4d74b..912c14250 100644 --- a/community/sloccount/PKGBUILD +++ b/community/sloccount/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 17768 2010-05-25 12:20:54Z cbrannon $ +# $Id: PKGBUILD 65665 2012-02-21 20:27:37Z cbrannon $ # Maintainer: Chris Brannon # Contributor: Allan McRae # Contributor: Christof Musik pkgname=sloccount pkgver=2.26 -pkgrel=5 +pkgrel=6 pkgdesc="Tools for counting physical source lines of code" url="http://www.dwheeler.com/sloccount/" license=('GPL') @@ -14,10 +14,10 @@ arch=('i686' 'x86_64') source=(http://www.dwheeler.com/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('09abd6e2a016ebaf7552068a1dba1249') -build() { +package() { cd "${srcdir}/${pkgname}-${pkgver}" - install -dm755 "${pkgdir}/usr/bin" || return 1 - make PREFIX="${pkgdir}/usr" install || return 1 - mv "${pkgdir}/usr/share/doc/sloccount-2.26-1" "${pkgdir}/usr/share/doc/sloccount" || return 1 + install -dm755 "${pkgdir}/usr/bin" + make PREFIX="${pkgdir}/usr" install + mv "${pkgdir}/usr/share/doc/sloccount-2.26-1" "${pkgdir}/usr/share/doc/sloccount" chmod 644 "$pkgdir/usr/share/doc/sloccount/"* } -- cgit v1.2.3-54-g00ecf