[arch-commits] Commit in libetpan/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Wed Sep 12 12:46:09 UTC 2018
Date: Wednesday, September 12, 2018 @ 12:46:08
Author: andyrtr
Revision: 334411
archrelease: copy trunk to testing-x86_64
Added:
libetpan/repos/testing-x86_64/
libetpan/repos/testing-x86_64/PKGBUILD
(from rev 334410, libetpan/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: libetpan/repos/testing-x86_64/PKGBUILD (from rev 334410, libetpan/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-09-12 12:46:08 UTC (rev 334411)
@@ -0,0 +1,45 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libetpan
+pkgver=1.9.1
+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=('f5e354ccf1014c6ee313ade1009b8a82f28043d2504655e388bb4c1328700fcd')
+
+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