mintty - 3.0.2 - Update to llatest version (#1695)

include sounds
build with a patch for GCC 9.1.0.
This commit is contained in:
J. Peter Mugaas
2019-07-17 01:32:28 -04:00
committed by Алексей
parent e21e7a9fe1
commit fe045cbe3c
2 changed files with 7873 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=mintty
pkgver=3.0.1
pkgver=3.0.2
pkgrel=1
epoch=1
pkgdesc="Terminal emulator with native Windows look and feel"
@@ -11,8 +11,10 @@ groups=('base')
depends=('sh')
url="https://mintty.github.io"
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mintty/mintty/archive/${pkgver}.tar.gz
8be3ff0d918058b56ba0d1bc26eea25b875ab929.patch
0002-add-msys2-launcher.patch)
sha256sums=('e67fcbb7f8543cb44e05409956046db1d7c1a1c024764b8d3ebe891f8b8d1ac8'
sha256sums=('2531f0ea46edb420fff6089bd167ae5eb00bf25ed956a316ba88ac04aae75609'
'7750b145186b40d4ff0c021f589143eaf4a965aa511035574018705a2bdcf004'
'dbf0eecfcd7a02361ed1b86409b77b759473ae37f29a91dab5028b149d7dac1c')
del_file_exists() {
@@ -28,6 +30,7 @@ prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
del_file_exists src/launcher.c src/launcher.h
patch -p1 -i ${srcdir}/0002-add-msys2-launcher.patch
patch -p1 -i ${srcdir}/8be3ff0d918058b56ba0d1bc26eea25b875ab929.patch
}
build() {
@@ -43,6 +46,7 @@ package() {
mkdir -p ${pkgdir}/usr/share/${pkgname}/lang
mkdir -p ${pkgdir}/usr/share/${pkgname}/themes
mkdir -p ${pkgdir}/usr/share/${pkgname}/icon
mkdir -p ${pkgdir}/usr/share/${pkgname}/sounds
install -m755 bin/mintty.exe ${pkgdir}/usr/bin/mintty.exe
install -m755 tools/* ${pkgdir}/usr/bin/
@@ -64,4 +68,7 @@ package() {
install -m644 icon/hi${i}-apps-mintty.png \
${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/mintty.png
done
install -m644 sounds/*.wav ${pkgdir}/usr/share/${pkgname}/sounds/
install -m644 sounds/*.WAV ${pkgdir}/usr/share/${pkgname}/sounds/
install -m644 sounds/*.md ${pkgdir}/usr/share/${pkgname}/sounds/
}