aboutsummaryrefslogtreecommitdiffstats
path: root/main/mutt/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-03 13:37:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-03 14:55:23 +0000
commit89e9c4d33ab73f9c486a0a3bed1f25f8a9b6ed22 (patch)
tree6e7daf2db797aea343a64e77f3e2e1bd3014c1cb /main/mutt/APKBUILD
parent208dc886729f174c8436963d0667f3b6606384ae (diff)
downloadaports-89e9c4d33ab73f9c486a0a3bed1f25f8a9b6ed22.tar.bz2
aports-89e9c4d33ab73f9c486a0a3bed1f25f8a9b6ed22.tar.xz
main/mutt: move doc files to doc package
and minor cleanup
Diffstat (limited to 'main/mutt/APKBUILD')
-rw-r--r--main/mutt/APKBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/main/mutt/APKBUILD b/main/mutt/APKBUILD
index 5f8cac9f36..f79484c8c4 100644
--- a/main/mutt/APKBUILD
+++ b/main/mutt/APKBUILD
@@ -2,21 +2,17 @@
# Maintainer: Andrew Manison<amanison@anselsystems.com>
pkgname=mutt
pkgver=1.4.2.3
-pkgrel=1
+pkgrel=2
pkgdesc="a small but very powerful text-mode email client"
url="http://www.mutt.org"
arch="x86 x86_64"
license="GPL"
-depends="openssl ncurses libiconv"
-makedepends="openssl-dev ncurses-dev"
+depends=
+makedepends="openssl-dev ncurses-dev libiconv-dev"
install=
subpackages="$pkgname-doc"
source="ftp://ftp.mutt.org/$pkgname/$pkgname-$pkgver.tar.gz"
-# append extra dependencies to -dev subpackage
-# remove if not used.
-# depends_dev="somepackage-dev"
-
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -35,6 +31,7 @@ build() {
--enable-smtp \
--with-curses \
--with-mailpath=/var/spool/mail \
+ --with-docdir=/usr/share/doc/mutt \
--with-ssl
make || return 1
}
@@ -43,10 +40,6 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/share/locale/locale.alias
-
- # remove the 2 lines below (and this) if there is no init.d script
- # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="dcb94661827dd090fa813e73e122ea0c mutt-1.4.2.3.tar.gz"