[skip-ci] ed: update to 1.15

This commit is contained in:
Jeff Huang 2019-01-04 01:12:28 +01:00
parent 3f951eb52a
commit 2eaf06a2fb
2 changed files with 3 additions and 26 deletions

View File

@ -1,16 +1,15 @@
pkgname=ed
pkgver=1.14.2
pkgver=1.15
pkgrel=1
pkgdesc="A POSIX-compliant line-oriented text editor"
arch=('x86_64')
license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
url="https://www.gnu.org/software/ed/ed.html"
depends=('glibc' 'sh')
groups=('base-devel')
options=('!emptydirs')
source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz")
install='ed.install'
sha256sums=('f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db')
sha256sums=('ad4489c0ad7a108c514262da28e6c2a426946fb408a3977ef1ed34308bdfd174')
build() {
cd "$pkgname-$pkgver"

View File

@ -1,22 +0,0 @@
infodir=usr/share/info
filelist=(ed.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: