mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
[skip-ci] mtools: update to 4.0.19
This commit is contained in:
parent
6ce513ce52
commit
8dc2df5140
@ -1,7 +1,5 @@
|
||||
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||
|
||||
pkgname=mtools
|
||||
pkgver=4.0.18
|
||||
pkgver=4.0.19
|
||||
pkgrel=1
|
||||
pkgdesc="A collection of utilities to access MS-DOS disks"
|
||||
arch=('x86_64')
|
||||
@ -12,9 +10,8 @@ makedepends=('texinfo' 'libx11' 'libsm')
|
||||
optdepends=('libx11: required by floppyd'
|
||||
'libsm: required by floppyd')
|
||||
backup=('etc/mtools.conf')
|
||||
install=mtools.install
|
||||
source=(http://ftp.gnu.org/gnu/mtools/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('a23646617546bf6ad56f061d8b283c85')
|
||||
source=("https://ftp.gnu.org/gnu/mtools/${pkgname}-${pkgver}.tar.bz2")
|
||||
sha256sums=('1bc197199ea1c2c317f597879486eeb817f3199b526d94cc6841624768d910df')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
@ -1,18 +0,0 @@
|
||||
info_dir=/usr/share/info
|
||||
info_files=(mtools.info)
|
||||
|
||||
post_install() {
|
||||
for f in ${info_files[@]}; do
|
||||
install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
for f in ${info_files[@]}; do
|
||||
install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue
Block a user