[arch-commits] Commit in re-alpine/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Thu Jul 3 19:03:18 UTC 2014


    Date: Thursday, July 3, 2014 @ 21:03:18
  Author: eric
Revision: 216425

upgpkg: re-alpine 2.03-2

Rebuild to add mtree file, Add pam depends

Modified:
  re-alpine/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-03 19:00:58 UTC (rev 216424)
+++ PKGBUILD	2014-07-03 19:03:18 UTC (rev 216425)
@@ -4,12 +4,12 @@
 
 pkgname=re-alpine
 pkgver=2.03
-pkgrel=1
+pkgrel=2
 pkgdesc="The continuation of the Alpine email client from University of Washington"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/re-alpine/"
 license=('APACHE')
-depends=('libldap' 'krb5')
+depends=('libldap' 'krb5' 'pam')
 optdepends=('aspell: spell-checking support'
 	    'hunspell: spell-checking support')
 options=('!makeflags')
@@ -18,9 +18,13 @@
 sha1sums=('8e1c4f4a4d38814478e8bd3bbeed1c0f8ee9491b'
           'c09a8e42f9dba3e63a3755a9c418af95da721d8d')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/maildir.patch"
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 < ../maildir.patch
+  cd ${pkgname}-${pkgver}
    LIBS+="-lpam -lkrb5 -lcrypto" ./configure --prefix=/usr --without-passfile --without-tcl \
     --disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \
     --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed
@@ -28,6 +32,6 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list