[arch-commits] Commit in gettext/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Sep 6 22:06:50 UTC 2015
Date: Monday, September 7, 2015 @ 00:06:50
Author: foutrelis
Revision: 245419
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gettext/repos/staging-i686/
gettext/repos/staging-i686/PKGBUILD
(from rev 245418, gettext/trunk/PKGBUILD)
gettext/repos/staging-i686/gettext.install
(from rev 245418, gettext/trunk/gettext.install)
gettext/repos/staging-x86_64/
gettext/repos/staging-x86_64/PKGBUILD
(from rev 245418, gettext/trunk/PKGBUILD)
gettext/repos/staging-x86_64/gettext.install
(from rev 245418, gettext/trunk/gettext.install)
--------------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-i686/gettext.install | 22 ++++++++++++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/gettext.install | 22 ++++++++++++++++++++++
4 files changed, 114 insertions(+)
Copied: gettext/repos/staging-i686/PKGBUILD (from rev 245418, gettext/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-06 22:06:50 UTC (rev 245419)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer:
+
+pkgname=gettext
+pkgver=0.19.5.1
+pkgrel=3
+pkgdesc="GNU internationalization library"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gettext/"
+license=('GPL')
+groups=('base' 'base-devel')
+depends=('gcc-libs' 'acl' 'sh' 'glib2' 'libunistring')
+optdepends=('git: for autopoint infrastructure updates')
+options=(!docs)
+install=gettext.install
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -j1 -k check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('2b2ab90f6405a414bbe30cf6655f3e28'
+ 'SKIP')
Copied: gettext/repos/staging-i686/gettext.install (from rev 245418, gettext/trunk/gettext.install)
===================================================================
--- staging-i686/gettext.install (rev 0)
+++ staging-i686/gettext.install 2015-09-06 22:06:50 UTC (rev 245419)
@@ -0,0 +1,22 @@
+infodir=/usr/share/info
+filelist=(gettext.info.gz autosprintf.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
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gettext/repos/staging-x86_64/PKGBUILD (from rev 245418, gettext/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-06 22:06:50 UTC (rev 245419)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer:
+
+pkgname=gettext
+pkgver=0.19.5.1
+pkgrel=3
+pkgdesc="GNU internationalization library"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gettext/"
+license=('GPL')
+groups=('base' 'base-devel')
+depends=('gcc-libs' 'acl' 'sh' 'glib2' 'libunistring')
+optdepends=('git: for autopoint infrastructure updates')
+options=(!docs)
+install=gettext.install
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make -j1 -k check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('2b2ab90f6405a414bbe30cf6655f3e28'
+ 'SKIP')
Copied: gettext/repos/staging-x86_64/gettext.install (from rev 245418, gettext/trunk/gettext.install)
===================================================================
--- staging-x86_64/gettext.install (rev 0)
+++ staging-x86_64/gettext.install 2015-09-06 22:06:50 UTC (rev 245419)
@@ -0,0 +1,22 @@
+infodir=/usr/share/info
+filelist=(gettext.info.gz autosprintf.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
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list