updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / emacs-epg / PKGBUILD
blob29d3ef5c790efaf686b1ce0d0eaa06b1adb3df3a
1 # -*- shell-script -*-
3 # Contributor: Adrian C. <anrxc.sysphere.org>
5 pkgname=emacs-epg
6 _realname=easypg
7 pkgver=0.0.16
8 pkgrel=3
9 pkgdesc="EasyPG is a GnuPG interface for GNU Emacs"
10 arch=("i686" "x86_64")
11 url="http://www.easypg.org/"
12 license=("GPL2")
13 depends=("emacs" "gnupg")
14 makedepends=("make" "emacs")
15 install="${pkgname}.install"
16 source=("http://ftp.de.debian.org/debian/pool/main/e/${_realname}/${_realname}_${pkgver}.orig.tar.gz")
17 md5sums=("27a0e4fae318ed855f807bc3bec926e5")
20 build() {
21   cd "${srcdir}/${pkgname:6:3}-${pkgver}"
23 # Build easypg
24   ./configure --prefix=/usr || return 1
25   make || return 1
27 # Install easypg
28   install -d "${pkgdir}/usr/share/emacs/site-lisp/epg/" || return 1
29   install -m644 *.el* "${pkgdir}/usr/share/emacs/site-lisp/epg" || return 1
31 # Install documentation
32   install -d "${pkgdir}/usr/share/info/" || return 1
33   install -m644 epa.info "${pkgdir}/usr/share/info" || return 1