summaryrefslogtreecommitdiff
path: root/alpine
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-11 13:22:30 +0200
committerErich Eckner <git@eckner.net>2017-06-11 13:22:30 +0200
commit42b460141f710093ebe19a43504732cee6e9e865 (patch)
treef8cd0b111fb3ce98f275c8dd8c9eef6dc6f62443 /alpine
parenteb48190e21af8f34fe4383e3370714a3cd1cb632 (diff)
downloadarchlinuxewe-42b460141f710093ebe19a43504732cee6e9e865.tar.xz
alpine neu
Diffstat (limited to 'alpine')
-rw-r--r--alpine/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/alpine/PKGBUILD b/alpine/PKGBUILD
new file mode 100644
index 000000000..f5f250c62
--- /dev/null
+++ b/alpine/PKGBUILD
@@ -0,0 +1,56 @@
+# -*- shell-script -*-
+#
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Adrian C. <anrxc..sysphere.org>
+
+pkgname=alpine
+pkgver=2.21
+pkgrel=1
+arch=("i686" "x86_64")
+pkgdesc="Apache licensed PINE mail user agent"
+url="http://alpine.freeiz.com"
+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=(http://alpine.freeiz.com/${pkgname}/release/src/${pkgname}-${pkgver}.tar.xz
+ #ftp://ftp.cac.washington.edu/${pkgname}/${pkgname}.tar.bz2
+ http://alpine.freeiz.com/${pkgname}/patches/${pkgname}-${pkgver}/all.patch.gz)
+ #topal-1.patch
+ #topal-2.patch)
+md5sums=("02dad85c1be80ce020206f222ecf5ac8"
+ "0f44e09742442f7aa7c50b40bb957f8b")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+# User compile time patches
+# - Eduardo Chappa patches
+ patch -p1 < ../all.patch
+# - Phil Brooke patches (optional topal support)
+ #patch -p1 < ../topal-1.patch
+ #patch -p1 < ../topal-2.patch
+
+
+# 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}-${pkgver}"
+
+# Install Alpine
+ make DESTDIR="${pkgdir}" install
+}