[arch-commits] Commit in gperf/repos (6 files)
Felix Yan
fyan at archlinux.org
Sun Dec 6 01:23:41 UTC 2015
Date: Sunday, December 6, 2015 @ 02:23:41
Author: fyan
Revision: 252536
archrelease: copy trunk to staging-x86_64, staging-i686
Added:
gperf/repos/staging-i686/
gperf/repos/staging-i686/PKGBUILD
(from rev 252535, gperf/trunk/PKGBUILD)
gperf/repos/staging-i686/gperf.install
(from rev 252535, gperf/trunk/gperf.install)
gperf/repos/staging-x86_64/
gperf/repos/staging-x86_64/PKGBUILD
(from rev 252535, gperf/trunk/PKGBUILD)
gperf/repos/staging-x86_64/gperf.install
(from rev 252535, gperf/trunk/gperf.install)
------------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-i686/gperf.install | 16 ++++++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/gperf.install | 16 ++++++++++++++++
4 files changed, 102 insertions(+)
Copied: gperf/repos/staging-i686/PKGBUILD (from rev 252535, gperf/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 01:23:41 UTC (rev 252536)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gperf
+pkgver=3.0.4
+pkgrel=6
+pkgdesc="Perfect hash function generator"
+arch=('x86_64' 'i686')
+url="http://www.gnu.org/software/gperf/"
+license=('GPL3')
+depends=('gcc-libs' 'texinfo')
+install=gperf.install
+source=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha1sums=('e32d4aff8f0c730c9a56554377b2c6d82d0951b8'
+ '85b8c44964a70a63d751afa5906796a0417e64ce')
+options=('!makeflags')
+validpgpkeys=('A47F5EB8FEF0E8AB1E613F2045E59068F91BB79F') # Brendan Kehoe
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --docdir=/usr/share/gperf/doc/
+ make
+}
+
+check() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: gperf/repos/staging-i686/gperf.install (from rev 252535, gperf/trunk/gperf.install)
===================================================================
--- staging-i686/gperf.install (rev 0)
+++ staging-i686/gperf.install 2015-12-06 01:23:41 UTC (rev 252536)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=gperf.info.gz
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
Copied: gperf/repos/staging-x86_64/PKGBUILD (from rev 252535, gperf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 01:23:41 UTC (rev 252536)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gperf
+pkgver=3.0.4
+pkgrel=6
+pkgdesc="Perfect hash function generator"
+arch=('x86_64' 'i686')
+url="http://www.gnu.org/software/gperf/"
+license=('GPL3')
+depends=('gcc-libs' 'texinfo')
+install=gperf.install
+source=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha1sums=('e32d4aff8f0c730c9a56554377b2c6d82d0951b8'
+ '85b8c44964a70a63d751afa5906796a0417e64ce')
+options=('!makeflags')
+validpgpkeys=('A47F5EB8FEF0E8AB1E613F2045E59068F91BB79F') # Brendan Kehoe
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --docdir=/usr/share/gperf/doc/
+ make
+}
+
+check() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: gperf/repos/staging-x86_64/gperf.install (from rev 252535, gperf/trunk/gperf.install)
===================================================================
--- staging-x86_64/gperf.install (rev 0)
+++ staging-x86_64/gperf.install 2015-12-06 01:23:41 UTC (rev 252536)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=gperf.info.gz
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
More information about the arch-commits
mailing list