[arch-commits] Commit in gnutls/repos (8 files)
Gaetan Bisson
bisson at archlinux.org
Thu Dec 11 19:38:14 UTC 2014
Date: Thursday, December 11, 2014 @ 20:38:13
Author: bisson
Revision: 227548
db-move: moved gnutls from [extra] to [core] (i686, x86_64)
Added:
gnutls/repos/core-i686/
gnutls/repos/core-i686/PKGBUILD
(from rev 227546, gnutls/repos/extra-i686/PKGBUILD)
gnutls/repos/core-i686/gnutls.install
(from rev 227546, gnutls/repos/extra-i686/gnutls.install)
gnutls/repos/core-x86_64/
gnutls/repos/core-x86_64/PKGBUILD
(from rev 227546, gnutls/repos/extra-x86_64/PKGBUILD)
gnutls/repos/core-x86_64/gnutls.install
(from rev 227546, gnutls/repos/extra-x86_64/gnutls.install)
Deleted:
gnutls/repos/extra-i686/
gnutls/repos/extra-x86_64/
----------------------------+
core-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
core-i686/gnutls.install | 20 ++++++++++++++++++++
core-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
core-x86_64/gnutls.install | 20 ++++++++++++++++++++
4 files changed, 122 insertions(+)
Copied: gnutls/repos/core-i686/PKGBUILD (from rev 227546, gnutls/repos/extra-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2014-12-11 19:38:13 UTC (rev 227548)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=gnutls
+pkgver=3.3.11
+pkgrel=1
+pkgdesc="A library which provides a secure layer over a reliable transport layer"
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL2.1')
+url="http://www.gnutls.org/"
+install=gnutls.install
+options=('!zipman')
+depends=('gcc-libs' 'libidn' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit')
+source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('b657e3010c10cae2244e7ce79ee3d446'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --with-zlib \
+ --disable-static \
+ --disable-guile
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check # || make -j1 check # || /bin/true
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # lots of .png files are put into infodir and are gzipped by makepkg! this may need to be fixed by using !zipman
+ # gzip -9 all files in infodir and manpages manually
+ find "$pkgdir/usr/share/info" -name '*.info*' -exec gzip -9 {} \;
+ find "$pkgdir/usr/share/man" -exec gzip -9 {} \;
+}
Copied: gnutls/repos/core-i686/gnutls.install (from rev 227546, gnutls/repos/extra-i686/gnutls.install)
===================================================================
--- core-i686/gnutls.install (rev 0)
+++ core-i686/gnutls.install 2014-12-11 19:38:13 UTC (rev 227548)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gnutls.info-1.gz gnutls.info-2.gz gnutls.info-3.gz gnutls.info-4.gz gnutls.info-5.gz gnutls.info.gz gnutls-guile.info.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: gnutls/repos/core-x86_64/PKGBUILD (from rev 227546, gnutls/repos/extra-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2014-12-11 19:38:13 UTC (rev 227548)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=gnutls
+pkgver=3.3.11
+pkgrel=1
+pkgdesc="A library which provides a secure layer over a reliable transport layer"
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL2.1')
+url="http://www.gnutls.org/"
+install=gnutls.install
+options=('!zipman')
+depends=('gcc-libs' 'libidn' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit')
+source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('b657e3010c10cae2244e7ce79ee3d446'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --with-zlib \
+ --disable-static \
+ --disable-guile
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check # || make -j1 check # || /bin/true
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # lots of .png files are put into infodir and are gzipped by makepkg! this may need to be fixed by using !zipman
+ # gzip -9 all files in infodir and manpages manually
+ find "$pkgdir/usr/share/info" -name '*.info*' -exec gzip -9 {} \;
+ find "$pkgdir/usr/share/man" -exec gzip -9 {} \;
+}
Copied: gnutls/repos/core-x86_64/gnutls.install (from rev 227546, gnutls/repos/extra-x86_64/gnutls.install)
===================================================================
--- core-x86_64/gnutls.install (rev 0)
+++ core-x86_64/gnutls.install 2014-12-11 19:38:13 UTC (rev 227548)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gnutls.info-1.gz gnutls.info-2.gz gnutls.info-3.gz gnutls.info-4.gz gnutls.info-5.gz gnutls.info.gz gnutls-guile.info.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