summaryrefslogtreecommitdiff
path: root/community/gpg-crypter
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
commit7e6a790c47fb44426cdda8ea0aca8c247a524c5e (patch)
treea120e55f735660c1ab1e7fa6174fe28fb3108d1f /community/gpg-crypter
parente5592a9039761a22a117469303c77a4215ad5048 (diff)
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gpsmanshp/PKGBUILD community/parrot/PKGBUILD extra/kdeadmin/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdegames/PKGBUILD extra/kdesdk/PKGBUILD extra/libmtp/PKGBUILD extra/libreoffice/PKGBUILD extra/samba/PKGBUILD multilib/lib32-libx11/PKGBUILD testing/xf86-video-mga/PKGBUILD testing/xf86-video-mga/git-fixes.patch
Diffstat (limited to 'community/gpg-crypter')
-rw-r--r--community/gpg-crypter/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/community/gpg-crypter/PKGBUILD b/community/gpg-crypter/PKGBUILD
index 2bd83c169..cb313d0f9 100644
--- a/community/gpg-crypter/PKGBUILD
+++ b/community/gpg-crypter/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 9138 2010-01-23 20:04:16Z jlichtblau $
+# $Id: PKGBUILD 67947 2012-03-16 11:29:44Z giovanni $
# 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
+pkgrel=5
pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme"
arch=('i686' 'x86_64' 'mips64el')
url="http://gpg-crypter.sourceforge.net/"
@@ -19,18 +19,25 @@ md5sums=('be33140ae205b8a3f37217c1c2c0737a'
build() {
cd ${srcdir}/$pkgname-$pkgver
+ export CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
./configure --prefix=/usr
- make || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
make DESTDIR=${pkgdir} install
# icon
install -Dm644 ${srcdir}/$pkgname-$pkgver/pixmaps/$pkgname.png \
- ${pkgdir}/usr/share/pixmaps/$pkgname.png || return 1
+ ${pkgdir}/usr/share/pixmaps/$pkgname.png
# .desktop file
install -Dm644 ${srcdir}/$pkgname.desktop \
- ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
+ ${pkgdir}/usr/share/applications/$pkgname.desktop
# delete unneeded icon
- rm -rf ${pkgdir}/usr/share/$pkgname || return 1
+ rm -rf ${pkgdir}/usr/share/$pkgname
}