Commit 1fa1542f authored by Gaetan Bisson's avatar Gaetan Bisson
Browse files

PKGBUILD cleanup, install man pages properly

parent a067efab
# Contributor: damir <damir@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Gaetan Bisson <bisson@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
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment