summaryrefslogtreecommitdiff
path: root/manualPorts/alpine/Pkgfile
blob: c930893723040638fb6f22b57efb1dc07e80bb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.21.9999.r51.74c603f
_commit=${version##*.}
release=2
source=("http://repo.or.cz/alpine.git/snapshot/${_commit}.tar.gz"
backwards-search.patch
topal-patch.patch)

build() {

    cd "alpine-${_commit}"
    patch -p1 -i "${SRC}/backwards-search.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

}