Commit a067efab authored by Daniel Griffiths's avatar Daniel Griffiths
Browse files

Cleanup, adopted

parent 94757638
# Contributor: damir <damir@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=abook
pkgver=0.6.0pre2
......@@ -9,15 +10,20 @@ arch=('i686' 'x86_64')
url="http://abook.sourceforge.net"
license=('GPL2')
depends=('readline')
source=(http://abook.sourceforge.net/devel/abook-$pkgver.tar.gz)
source=(http://abook.sourceforge.net/devel/abook-${pkgver}.tar.gz)
md5sums=('1e4a7210b3507db7b3d47ee7a2457934')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
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}
./configure --prefix=/usr || return 1
make || return 1
}
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
}
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