From 7866696382d3f4bdbdc757e97b42fe29f5bb9d38 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 27 Sep 2020 21:52:38 +0000 Subject: gperf: update to 3.1 --- abs/core/gperf/PKGBUILD | 23 +++++++++++------------ abs/core/gperf/gperf.install | 16 ---------------- 2 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 abs/core/gperf/gperf.install diff --git a/abs/core/gperf/PKGBUILD b/abs/core/gperf/PKGBUILD index 7c3ec52..944baf2 100644 --- a/abs/core/gperf/PKGBUILD +++ b/abs/core/gperf/PKGBUILD @@ -1,34 +1,33 @@ -# $Id: PKGBUILD 140657 2011-10-17 19:09:57Z andrea $ # Maintainer: # Contributor: Jan de Groot pkgname=gperf -pkgver=3.0.4 -pkgrel=4 +pkgver=3.1 +pkgrel=3 pkgdesc="Perfect hash function generator" -arch=('x86_64' 'i686') -url="http://www.gnu.org/software/gperf/" +arch=('x86_64') +url="https://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') +source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig}) +sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2' + 'SKIP') options=('!makeflags') +validpgpkeys=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible build() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --docdir=/usr/share/gperf/doc/ make } check() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} make check } package() { - cd "${srcdir}"/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } diff --git a/abs/core/gperf/gperf.install b/abs/core/gperf/gperf.install deleted file mode 100644 index 90ac2a8..0000000 --- a/abs/core/gperf/gperf.install +++ /dev/null @@ -1,16 +0,0 @@ -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 -} -- cgit v0.12