[arch-commits] Commit in libidn/trunk (PKGBUILD libidn.install)

Andreas Radke andyrtr at archlinux.org
Thu Jul 28 20:20:01 UTC 2016


    Date: Thursday, July 28, 2016 @ 20:20:00
  Author: andyrtr
Revision: 272664

upgpkg: libidn 1.33-1

upstream update 1.33; build gtk-doc; remove texinfo runtime dependency - texinfo is in base group and expected to be installed providing the install hook, now it's possible to even remove texinfo - FS#49630

Modified:
  libidn/trunk/PKGBUILD
Deleted:
  libidn/trunk/libidn.install

----------------+
 PKGBUILD       |   23 +++++++++++++++--------
 libidn.install |   19 -------------------
 2 files changed, 15 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-28 20:10:54 UTC (rev 272663)
+++ PKGBUILD	2016-07-28 20:20:00 UTC (rev 272664)
@@ -4,24 +4,31 @@
 # Contributor: Eric Johnson <eric.archlinux.org>
 
 pkgname=libidn
-pkgver=1.32
+pkgver=1.33
 pkgrel=1
 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
 url="http://www.gnu.org/software/libidn/"
 arch=('i686' 'x86_64')
 license=('GPL3' 'LGPL')
-depends=('glibc' 'texinfo')
-source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-install=libidn.install
-sha1sums=('ddd018611b98af7c67d434aa42d15d39f45129f5')
+depends=('glibc')
+makedepends=('texinfo' 'gtk-doc')
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('57872fdc665dcc585e16f4ac0bb35374b1103f7e'
+          'SKIP')
+validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C') # "Simon Josefsson <simon at josefsson.org>"
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --enable-gtk-doc
   make
 }
 
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 }

Deleted: libidn.install
===================================================================
--- libidn.install	2016-07-28 20:10:54 UTC (rev 272663)
+++ libidn.install	2016-07-28 20:20:00 UTC (rev 272664)
@@ -1,19 +0,0 @@
-info_dir=/usr/share/info
-info_files=(libidn.info)
-
-post_install() {
-  for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-        post_install
-}
-
-pre_remove() {
-  for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-



More information about the arch-commits mailing list