blob: 88787c6d0fdba53ebbb6f2b4314318702a045d72 (
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
|
# $Id: PKGBUILD 9138 2010-01-23 20:04:16Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: lp76 <l.peduto@gmail.com>
pkgname=gpg-crypter
pkgver=0.3.5
pkgrel=4
pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme"
arch=('i686' 'x86_64')
url="http://gpg-crypter.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'gpgme')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.desktop)
md5sums=('be33140ae205b8a3f37217c1c2c0737a'
'a2a226ff44eb02cdab7bee46864dea6d')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
# icon
install -Dm644 ${srcdir}/$pkgname-$pkgver/pixmaps/$pkgname.png \
${pkgdir}/usr/share/pixmaps/$pkgname.png || return 1
# .desktop file
install -Dm644 ${srcdir}/$pkgname.desktop \
${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
# delete unneeded icon
rm -rf ${pkgdir}/usr/share/$pkgname || return 1
}
|