[arch-commits] Commit in libgcrypt/repos (5 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Tue Apr 17 15:57:54 UTC 2012
Date: Tuesday, April 17, 2012 @ 11:57:54
Author: andyrtr
Revision: 156348
db-move: moved libgcrypt from [testing] to [core] (x86_64)
Added:
libgcrypt/repos/core-x86_64/PKGBUILD
(from rev 156346, libgcrypt/repos/testing-x86_64/PKGBUILD)
libgcrypt/repos/core-x86_64/libgcrypt.install
(from rev 156346, libgcrypt/repos/testing-x86_64/libgcrypt.install)
Deleted:
libgcrypt/repos/core-x86_64/PKGBUILD
libgcrypt/repos/core-x86_64/libgcrypt.install
libgcrypt/repos/testing-x86_64/
-------------------+
PKGBUILD | 76 +++++++++++++++++++++++-----------------------------
libgcrypt.install | 40 +++++++++++++--------------
2 files changed, 55 insertions(+), 61 deletions(-)
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2012-04-17 15:57:53 UTC (rev 156347)
+++ core-x86_64/PKGBUILD 2012-04-17 15:57:54 UTC (rev 156348)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=libgcrypt
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="a general purpose crypto library based on the code used"
-arch=(i686 x86_64)
-url="http://www.gnupg.org"
-license=('LGPL')
-depends=('libgpg-error>=1.9')
-options=('!libtool' '!emptydirs')
-install=$pkgname.install
-source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
-)
-sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- [ "$CARCH" = "i686" ] && EXTRAFLAGS="--disable-aesni-support"
- ./configure --prefix=/usr \
- --disable-static \
- --disable-padlock-support $EXTRAFLAGS
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make -k check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- # Move dynamic libraries to /lib
- install -d -m755 "${pkgdir}"/lib/
- mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/
- ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so
-}
Copied: libgcrypt/repos/core-x86_64/PKGBUILD (from rev 156346, libgcrypt/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2012-04-17 15:57:54 UTC (rev 156348)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libgcrypt
+pkgver=1.5.0
+pkgrel=3
+pkgdesc="a general purpose crypto library based on the code used"
+arch=(i686 x86_64)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('libgpg-error>=1.10-2')
+options=('!libtool' '!emptydirs')
+install=$pkgname.install
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
+)
+sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-padlock-support #$EXTRAFLAGS
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Deleted: core-x86_64/libgcrypt.install
===================================================================
--- core-x86_64/libgcrypt.install 2012-04-17 15:57:53 UTC (rev 156347)
+++ core-x86_64/libgcrypt.install 2012-04-17 15:57:54 UTC (rev 156348)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(gcrypt.info.gz gcrypt.info-1.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $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 $infodir/dir 2> /dev/null
- done
-}
Copied: libgcrypt/repos/core-x86_64/libgcrypt.install (from rev 156346, libgcrypt/repos/testing-x86_64/libgcrypt.install)
===================================================================
--- core-x86_64/libgcrypt.install (rev 0)
+++ core-x86_64/libgcrypt.install 2012-04-17 15:57:54 UTC (rev 156348)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(gcrypt.info.gz gcrypt.info-1.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $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 $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list