# Maintainer: Kaarle Ritvanen pkgname=alpine pkgver=2.21 _ver=${pkgver%_p*} _pver=${pkgver##*_p} pkgrel=4 pkgdesc="Text-based email client, friendly for novices but powerful" url="http://alpine.x10host.com/alpine/" arch="all" license="Apache-2.0" makedepends="openldap-dev heimdal-dev ncurses-dev openssl-dev automake autoconf libtool gettext-dev" subpackages="$pkgname-doc" source="http://alpine.x10host.com/alpine/release/src/alpine-$pkgver.tar.xz uclibc-musl.patch " builddir="$srcdir"/$pkgname-$_ver prepare() { default_prepare autoreconf -fi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-passfile=.pine-pass \ --without-tcl \ --disable-shared \ --with-system-pinerc=/etc/alpine.d/pine.conf \ --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed make } package() { make DESTDIR="$pkgdir" install } sha512sums="a2a36a033c8af79810816a7da7185c269808ba6d84d013691fd8b3764c63f5fb2284e6844ec5a5e99d168514ae636debf59fae962533a2916679e4e9109c6264 alpine-2.21.tar.xz 1b14352571dd12749bbb6ebc1fd468dbb5a8e4d7a27e87f5baeb00a60d5c1a016d925c6bc776da7e1dbf0ad8d799a65049b64774113274d7ffb07c7b1b196775 uclibc-musl.patch"