summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/libassuan/PKGBUILD35
-rw-r--r--abs/core/libassuan/libassuan.install20
2 files changed, 18 insertions, 37 deletions
diff --git a/abs/core/libassuan/PKGBUILD b/abs/core/libassuan/PKGBUILD
index 12e79ce..5bfce59 100644
--- a/abs/core/libassuan/PKGBUILD
+++ b/abs/core/libassuan/PKGBUILD
@@ -1,31 +1,32 @@
-# $Id: PKGBUILD 146745 2012-01-16 22:52:52Z dreisner $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id$
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=libassuan
-pkgver=2.0.3
+pkgver=2.5.1
pkgrel=1
-pkgdesc="A IPC library used by some GnuPG related software"
-arch=('i686' 'x86_64')
+pkgdesc='IPC library used by some GnuPG related software'
+url='http://www.gnupg.org/related_software/libassuan/'
+arch=('x86_64')
license=('GPL')
-url="http://www.gnupg.org/related_software/libassuan"
depends=('libgpg-error')
-options=('!libtool')
-source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
-install=libassuan.install
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449'
+ 'SKIP')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
}
check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
-md5sums=('179d1918325fdb928c7bd90b8a514fc7')
diff --git a/abs/core/libassuan/libassuan.install b/abs/core/libassuan/libassuan.install
deleted file mode 100644
index 07e2672..0000000
--- a/abs/core/libassuan/libassuan.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(assuan.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}