main/texinfo: remove generated file on deinstall

This commit is contained in:
Sertonix 2024-02-25 01:13:54 +01:00 committed by Natanael Copa
parent 16b0ac4650
commit 8a88e2397c
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=texinfo
pkgver=7.1
pkgrel=0
pkgrel=1
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
url="https://www.gnu.org/software/texinfo/"
arch="all"
@ -12,6 +12,7 @@ makedepends="ncurses-dev perl-dev"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/texinfo/texinfo-$pkgver.tar.xz
fix-build-without-NLS.patch"
install="texinfo.pre-deinstall"
triggers="texinfo.trigger=/usr/share/info"
build() {

View File

@ -0,0 +1,3 @@
#!/bin/sh
rm -f usr/share/info/dir