summaryrefslogtreecommitdiff
path: root/pcr/mailcrypt/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:36:16 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:36:16 -0500
commitc04637262810dc74f509a28162ff2c6efce3c887 (patch)
tree201e710cde730c18ca21041d49deefe99d55ad02 /pcr/mailcrypt/PKGBUILD
parent3b7a1f44a8546f13f121e2a02522a2e35f785ba2 (diff)
mailcrypt: add new package to [pcr]
Diffstat (limited to 'pcr/mailcrypt/PKGBUILD')
-rw-r--r--pcr/mailcrypt/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/mailcrypt/PKGBUILD b/pcr/mailcrypt/PKGBUILD
new file mode 100644
index 000000000..027bfa124
--- /dev/null
+++ b/pcr/mailcrypt/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (Arch): Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+pkgname=mailcrypt
+pkgver=3.5.9
+pkgrel=5
+pkgdesc="Emacs interface to PGP and GnuPG"
+arch=('any')
+url="http://mailcrypt.sourceforge.net/"
+license=('GPL')
+depends=('emacs')
+makedepends=('texlive-plainextra')
+source=(http://downloads.sourceforge.net/sourceforge/mailcrypt/mailcrypt-$pkgver.tar.gz)
+md5sums=('18c0dea5dde0fc73168f4815df0d9db0')
+install=$pkgname.install
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ autoreconf
+ ./configure --prefix=/usr --infodir=/usr/share/info
+ make all info
+ texi2pdf $pkgname.texi
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -d "$pkgdir"/usr/share/info
+ make lispdir="$pkgdir"/usr/share/emacs/site-lisp \
+ infodir="$pkgdir"/usr/share/info install
+ for _i in $pkgname.pdf ANNOUNCE COPYING ChangeLog ChangeLog.1 \
+ INSTALL LCD-entry
+ do
+ install -Dm644 ${_i} $pkgdir/usr/share/doc/$pkgname/${_i}
+ done
+}