# Description: Apache licensed PINE mail user agent # URL: http://alpine.freeiz.com # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: libldap krb5 gettext procmail name=alpine version=2.22.r26.c1be3b9 _commit=${version##*.} release=4 source=("http://repo.or.cz/alpine.git/snapshot/${_commit}.tar.gz" default-pipe.patch rules.patch topal-patch.patch) build() { cd "alpine-${_commit}" patch -p1 -i "${SRC}/default-pipe.patch" patch -p1 -i "${SRC}/rules.patch" patch -p1 -i "${SRC}/topal-patch.patch" ./configure \ --prefix=/usr \ --with-passfile=.pine-passfile \ --with-system-pinerc=/etc/${name}.d/pine.conf \ --with-system-fixed-pinerc=/etc/${name}.d/pine.conf.fixed make make DESTDIR=$PKG install }