blob: 9041e580289f7e0582ce0e962e9ca25649928563 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Aniket-Pradhan aniket17133@iiitd.ac.in
pkgname=alpine
pkgver=2.21
pkgrel=1
pkggit=08fcd1b
arch=("i686" "x86_64")
pkgdesc="Apache licensed PINE mail user agent"
url="http://repo.or.cz/alpine.git"
license=("APACHE")
depends=("libldap" "krb5" "gettext")
optdepends=("aspell: for spell-checking support"
"hunspell: for spell-checking support"
"topal: glue program that links GnuPG and alpine")
provides=("pine")
conflicts=("pine" "re-alpine")
replaces=("pine")
options=("!makeflags")
source=(https://repo.or.cz/alpine.git/snapshot/08fcd1b86979b422eb586e56459d6fe15333e500.tar.gz)
build() {
cd "${srcdir}/${pkgname}-${pkggit}"
# Configure Alpine
LIBS+="-lpam -lkrb5 -lcrypto" ./configure --prefix=/usr \
--without-passfile --without-tcl --disable-shared \
--with-system-pinerc=/etc/${pkgname}.d/pine.conf \
--with-system-fixed-pinerc=/etc/${pkgname}.d/pine.conf.fixed
# Build Alpine
make
}
package() {
cd "${srcdir}/${pkgname}-${pkggit}"
# Install Alpine
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
md5sums=('8a47d3bb58a7528a2e457055e66914f8')
|