summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd25702e4409bcd0c12c3806b292439de98a9856 (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
# Maintainer:  Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Maintainer:  Yan Burdonsky <psyrccio@gmail.com>
# Contributor: Yan Burdonsky <psyrccio@gmail.com>
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>

pkgname=pidgin-gpg-git
pkgver=r65.c2d9b2e
pkgrel=1
pkgdesc="Transparently encrypts your instant messages with RSA encryption. Easy-to-use, but very secure."
arch=(i686 x86_64)
url="https://github.com/segler-alex/pidgin-gpg"
license=('GPL3')
depends=('pidgin' 'gpgme')
makedepends=('git')
source=("$pkgname::git+https://git@github.com/segler-alex/Pidgin-GPG.git")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  autoreconf -i
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm 644 src/.libs/pidgin_gpg.so "$pkgdir/usr/lib/pidgin/pidgin_gpg.so"
}