diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
commit | d4589eee8998a168eaa79af7a04d82faac1a738d (patch) | |
tree | 731625204f3902bb9b5f7a8a492c6b8fcc09c915 /abs/extra-testing/gpgme | |
parent | 5106977528d3d26919263bf62d504035a7720633 (diff) | |
parent | 787f13cd63c75c9c5090c10c0e888f48a59c0e49 (diff) | |
download | linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.zip linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.gz linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/gpgme')
-rw-r--r-- | abs/extra-testing/gpgme/PKGBUILD | 25 | ||||
-rw-r--r-- | abs/extra-testing/gpgme/__changelog | 1 | ||||
-rw-r--r-- | abs/extra-testing/gpgme/gpgme.install | 18 |
3 files changed, 44 insertions, 0 deletions
diff --git a/abs/extra-testing/gpgme/PKGBUILD b/abs/extra-testing/gpgme/PKGBUILD new file mode 100644 index 0000000..ce03d89 --- /dev/null +++ b/abs/extra-testing/gpgme/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 48153 2009-07-31 20:34:25Z tpowa $ +# Maintainer: Roman Kyrylych <roman@archlinux.org> +# Contributor: Sarah Hay <sarah@archlinux.org> + +pkgname=gpgme +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A C wrapper library for GnuPG." +arch=('i686' 'x86_64') +url="http://www.gnupg.org/related_software/gpgme/" +license=('GPL') +depends=('libgpg-error>=1.5' 'pth' 'gnupg') +install=gpgme.install +options=('!libtool' '!emptydirs') +source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('3164bbbd49f94863f2849f39c343521e') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir} install + rm ${pkgdir}/usr/share/info/dir + gzip ${pkgdir}/usr/share/info/* +} diff --git a/abs/extra-testing/gpgme/__changelog b/abs/extra-testing/gpgme/__changelog new file mode 100644 index 0000000..4074d1b --- /dev/null +++ b/abs/extra-testing/gpgme/__changelog @@ -0,0 +1 @@ +removed gnupg2 requirement diff --git a/abs/extra-testing/gpgme/gpgme.install b/abs/extra-testing/gpgme/gpgme.install new file mode 100644 index 0000000..b54620d --- /dev/null +++ b/abs/extra-testing/gpgme/gpgme.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gpgme.info gpgme.info-1 gpgme.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |