summaryrefslogtreecommitdiff
path: root/pcr/emacs-mailcrypt/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /pcr/emacs-mailcrypt/PKGBUILD
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/emacs-mailcrypt/PKGBUILD')
-rw-r--r--pcr/emacs-mailcrypt/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/emacs-mailcrypt/PKGBUILD b/pcr/emacs-mailcrypt/PKGBUILD
new file mode 100644
index 000000000..8dad422c0
--- /dev/null
+++ b/pcr/emacs-mailcrypt/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>
+
+_pkgname=mailcrypt
+pkgname=emacs-$_pkgname
+pkgver=3.5.9
+pkgdesc="Emacs interface to PGP and GnuPG"
+url="http://mailcrypt.sourceforge.net/"
+license=('GPL')
+
+pkgrel=2.1
+arch=(any)
+depends=(emacs)
+install=$_pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.gz
+ destdir.patch)
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/destdir.patch"
+ autoreconf
+ ./configure --prefix=/usr --infodir=/usr/share/info
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('18c0dea5dde0fc73168f4815df0d9db0'
+ '805f2c6bf624c946df2eefaf0edabcb3')