diff options
author | Peter Mattern | 2022-04-20 15:56:02 +0200 |
---|---|---|
committer | Peter Mattern | 2022-04-20 15:56:02 +0200 |
commit | 51b8d237a10f8e16774997f9bc0e0065747f9fc0 (patch) | |
tree | 33a7e5dfef5cdc7080bab9e2c0ff13015a321bfb | |
parent | c19a5ad4dd5d251537ff84c9e0f1d73d03cea130 (diff) | |
download | aur-51b8d237a10f8e16774997f9bc0e0065747f9fc0.tar.gz |
Fix handling of info files
Meanwhile a pacman hook to handle the index file is available. The
custom script isn't needed any more.
Package texinfo, which is providing the needed binary files, wasn't a
dependency of package ccrtp.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | ccrtp.install | 22 |
3 files changed, 4 insertions, 26 deletions
@@ -1,15 +1,15 @@ pkgbase = ccrtp pkgdesc = An implementation of RTP, the real-time transport protocol from the IETF pkgver = 2.1.2 - pkgrel = 2 + pkgrel = 3 url = https://www.gnu.org/software/ccrtp/ - install = ccrtp.install arch = i686 arch = x86_64 license = GPL license = custom depends = ucommon>=6.2.2 depends = libgcrypt + optdepends = texinfo: handle and view info files source = https://ftp.gnu.org/gnu/ccrtp/ccrtp-2.1.2.tar.gz sha256sums = f035ca0e1b5d37b78e358f07a25b05c5cdaf2c85c4b31cf29f6be17f288a349e @@ -8,13 +8,13 @@ pkgname=ccrtp pkgver=2.1.2 -pkgrel=2 +pkgrel=3 pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF" arch=('i686' 'x86_64') url="https://www.gnu.org/software/ccrtp/" license=('GPL' 'custom') depends=('ucommon>=6.2.2' 'libgcrypt') -install=$pkgname.install +optdepends=("texinfo: handle and view info files") source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('f035ca0e1b5d37b78e358f07a25b05c5cdaf2c85c4b31cf29f6be17f288a349e') diff --git a/ccrtp.install b/ccrtp.install deleted file mode 100644 index 51b971c5c35b..000000000000 --- a/ccrtp.install +++ /dev/null @@ -1,22 +0,0 @@ -infodir=usr/share/info -filelist=(ccrtp.info) - -post_install() { - [[ -x usr/bin/install-info ]] || return 0 - for file in "${filelist[@]}"; do - install-info "$infodir/$file.gz" "$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.gz" "$infodir/dir" 2> /dev/null - done -} - -# vim:set ts=2 sw=2 et: |