summaryrefslogtreecommitdiff
path: root/pcr/emacs-mailcrypt/PKGBUILD
blob: 8dad422c00b3ed078efe413cbabcc13437a4ef40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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')