summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 616e1d86f563a28885a999c2c810a2f6c143b42a (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# GnuPG2 GIT version
# Maintainer: meno.abels@gmail.com
# Based on official package maintained by Tobias Powalowski <tpowa@archlinux.org>
# Cleanup from @holos

_gitname=gnupg
pkgname=gnupg-clavator
pkgver=2.1.18+clavator
pkgrel=1
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool. Development version. Do not use in production environments. Test new ECC algorithms by using \"gpg --full-gen-key --expert\""
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
depends=('libldap' 'curl' 'bzip2' 'zlib' 'libksba>=1.2' 'libgpg-error' 'libgcrypt'
         'pth' 'libusb-compat' 'libassuan' 'npth' 'texinfo' 'readline' 'pinentry')
license=('GPL')
url="http://www.gnupg.org/"
makedepends=('git' 'ghostscript' 'transfig' 'automake')
#provides=("gnupg=${pkgver}" 'dirmngr')
#conflicts=('gnupg2' 'gnupg' 'dirmngr')
install=${pkgname}.install
source=("git://github.com/mabels/gnupg.git#branch=quick-keytocard")
sha1sums=('SKIP')

pkgver() {
  ls -l
  cd "$_gitname"

  git rev-parse --verify --short HEAD
}

build() {
  cd "$_gitname"

  echo "2.1-clavator" > VERSION
  ./autogen.sh --force
  echo "2.1-clavator" > VERSION
  ./configure \
    --enable-maintainer-mode \
    --prefix=/usr/local 
  echo "2.1-clavator" > VERSION
  make
}

package() {
  cd "$_gitname"

  make DESTDIR=${pkgdir} install
#ln -s gpg2 "$pkgdir/usr/bin/gpg"
}

# vim: ft=sh syn=sh et sw=2