Commit 8923e55d authored by Leo's avatar Leo Committed by Francesco Colista

community/alpine: modernize, fix url, fix build

parent 08599f63
...@@ -3,36 +3,26 @@ pkgname=alpine ...@@ -3,36 +3,26 @@ pkgname=alpine
pkgver=2.21 pkgver=2.21
_ver=${pkgver%_p*} _ver=${pkgver%_p*}
_pver=${pkgver##*_p} _pver=${pkgver##*_p}
pkgrel=3 pkgrel=4
pkgdesc="Text-based email client, friendly for novices but powerful" pkgdesc="Text-based email client, friendly for novices but powerful"
url="http://www.washington.edu/alpine/" url="http://alpine.x10host.com/alpine/"
arch="all" arch="all"
license="Apache-2.0" license="Apache-2.0"
depends=""
makedepends="openldap-dev heimdal-dev ncurses-dev openssl-dev makedepends="openldap-dev heimdal-dev ncurses-dev openssl-dev
automake autoconf libtool" automake autoconf libtool gettext-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://alpine.x10host.com/alpine/release/src/alpine-$pkgver.tar.xz source="http://alpine.x10host.com/alpine/release/src/alpine-$pkgver.tar.xz
uclibc-musl.patch uclibc-musl.patch
" "
_builddir="$srcdir"/$pkgname-$_ver builddir="$srcdir"/$pkgname-$_ver
prepare() { prepare() {
cd "$_builddir" default_prepare
for i in $source; do autoreconf -fi
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --force --add-missing || return 1
} }
build() { build() {
cd "$_builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -41,14 +31,12 @@ build() { ...@@ -41,14 +31,12 @@ build() {
--without-tcl \ --without-tcl \
--disable-shared \ --disable-shared \
--with-system-pinerc=/etc/alpine.d/pine.conf \ --with-system-pinerc=/etc/alpine.d/pine.conf \
--with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \ --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed
|| return 1
make make
} }
package() { package() {
cd "$_builddir" make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install || return 1
} }
sha512sums="a2a36a033c8af79810816a7da7185c269808ba6d84d013691fd8b3764c63f5fb2284e6844ec5a5e99d168514ae636debf59fae962533a2916679e4e9109c6264 alpine-2.21.tar.xz sha512sums="a2a36a033c8af79810816a7da7185c269808ba6d84d013691fd8b3764c63f5fb2284e6844ec5a5e99d168514ae636debf59fae962533a2916679e4e9109c6264 alpine-2.21.tar.xz
......
Markdown is supported
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