[arch-commits] Commit in gettext/repos (6 files)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Mon Aug 19 07:45:34 UTC 2013
Date: Monday, August 19, 2013 @ 09:45:34
Author: tpowa
Revision: 193204
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gettext/repos/testing-i686/
gettext/repos/testing-i686/PKGBUILD
(from rev 193203, gettext/trunk/PKGBUILD)
gettext/repos/testing-i686/gettext.install
(from rev 193203, gettext/trunk/gettext.install)
gettext/repos/testing-x86_64/
gettext/repos/testing-x86_64/PKGBUILD
(from rev 193203, gettext/trunk/PKGBUILD)
gettext/repos/testing-x86_64/gettext.install
(from rev 193203, gettext/trunk/gettext.install)
--------------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-i686/gettext.install | 22 ++++++++++++++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/gettext.install | 22 ++++++++++++++++++++++
4 files changed, 112 insertions(+)
Copied: gettext/repos/testing-i686/PKGBUILD (from rev 193203, gettext/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-08-19 07:45:34 UTC (rev 193204)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+
+pkgname=gettext
+pkgver=0.18.3.1
+pkgrel=1
+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')
+optdepends=('cvs: for autopoint tool')
+options=(!libtool !docs)
+install=gettext.install
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('3fc808f7d25487fc72b5759df7419e02'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gettext/repos/testing-i686/gettext.install (from rev 193203, gettext/trunk/gettext.install)
===================================================================
--- testing-i686/gettext.install (rev 0)
+++ testing-i686/gettext.install 2013-08-19 07:45:34 UTC (rev 193204)
@@ -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/testing-x86_64/PKGBUILD (from rev 193203, gettext/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-08-19 07:45:34 UTC (rev 193204)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+
+pkgname=gettext
+pkgver=0.18.3.1
+pkgrel=1
+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')
+optdepends=('cvs: for autopoint tool')
+options=(!libtool !docs)
+install=gettext.install
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('3fc808f7d25487fc72b5759df7419e02'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gettext/repos/testing-x86_64/gettext.install (from rev 193203, gettext/trunk/gettext.install)
===================================================================
--- testing-x86_64/gettext.install (rev 0)
+++ testing-x86_64/gettext.install 2013-08-19 07:45:34 UTC (rev 193204)
@@ -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