[arch-commits] Commit in abook/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Tue Feb 22 00:31:02 UTC 2011
Date: Monday, February 21, 2011 @ 19:31:00
Author: bisson
Revision: 110746
PKGBUILD cleanup, install man pages properly
Modified:
abook/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-22 00:30:45 UTC (rev 110745)
+++ PKGBUILD 2011-02-22 00:31:00 UTC (rev 110746)
@@ -1,30 +1,27 @@
# $Id$
# Contributor: damir <damir at archlinux.org>
# Contributor: Thayer Williams <thayer at archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
pkgname=abook
pkgver=0.6.0pre2
-pkgrel=2
-pkgdesc="A text-based addressbook designed for use with mutt"
+pkgrel=3
+pkgdesc='Text-based addressbook designed for use with Mutt'
arch=('i686' 'x86_64')
-url="http://abook.sourceforge.net"
+url='http://abook.sourceforge.net/'
license=('GPL2')
depends=('readline')
-source=(http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz)
-md5sums=('1e4a7210b3507db7b3d47ee7a2457934')
+source=("http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz")
+sha1sums=('42a939fba43e51aa011fa185113c12ec4bc1e1ec')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- make prefix=${pkgdir}/usr install || return 1
- install -d ${pkgdir}/usr/share || return 1
- mv ${pkgdir}/usr/man ${pkgdir}/usr/share || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list