[arch-commits] Commit in libetpan/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Tue Dec 18 15:22:40 UTC 2018
Date: Tuesday, December 18, 2018 @ 15:22:40
Author: andyrtr
Revision: 342512
archrelease: copy trunk to testing-x86_64
Added:
libetpan/repos/testing-x86_64/
libetpan/repos/testing-x86_64/PKGBUILD
(from rev 342511, libetpan/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: libetpan/repos/testing-x86_64/PKGBUILD (from rev 342511, libetpan/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-12-18 15:22:40 UTC (rev 342512)
@@ -0,0 +1,45 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libetpan
+pkgver=1.9.2
+pkgrel=1
+pkgdesc="A portable middleware for email access"
+arch=('x86_64')
+url="http://www.etpan.org/libetpan.html"
+license=("custom:etpan")
+depends=('libgcrypt' 'gnutls' 'libsasl' 'zlib')
+makedepends=('expat')
+source=($pkgname-$pkgver.tar.gz::https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('45a3bef81ae1818b8feb67cd1f016e774247d7b03804d162196e5071c82304ab')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ libtoolize --force --copy
+ aclocal -I m4
+ autoheader
+ autoconf
+ automake --add-missing --foreign --force --copy
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-db \
+ --with-openssl=no \
+ --with-gnutls=yes
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+ cd tests
+ make imap-sample
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list