summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2022-04-20 15:56:02 +0200
committerPeter Mattern2022-04-20 15:56:02 +0200
commit51b8d237a10f8e16774997f9bc0e0065747f9fc0 (patch)
tree33a7e5dfef5cdc7080bab9e2c0ff13015a321bfb
parentc19a5ad4dd5d251537ff84c9e0f1d73d03cea130 (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--ccrtp.install22
3 files changed, 4 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46f944c554aa..882e9f93e0ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index fcc6b935dd69..4a65c9b51dd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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: