diff options
author | gigas002 | 2024-05-17 23:55:29 +0900 |
---|---|---|
committer | gigas002 | 2024-05-17 23:55:29 +0900 |
commit | a74035f7aff41043fab5460cb68acde9716dca15 (patch) | |
tree | bd8c22cf196ed12927aa168ffebd19d05a688b2f | |
parent | 2d8004396c9214abbeae1312d330e416ba60da97 (diff) | |
download | aur-a74035f7aff41043fab5460cb68acde9716dca15.tar.gz |
Fix minor PKGBUILD issues
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | vcmi.install | 11 |
3 files changed, 6 insertions, 20 deletions
@@ -10,21 +10,19 @@ pkgbase = vcmi arch = armv7h arch = armv6h arch = aarch64 - license = GPL2 + license = GPL-2.0-or-later AND CC-BY-SA-4.0 makedepends = boost makedepends = cmake makedepends = git makedepends = ccache + makedepends = qt5-tools depends = boost-libs depends = ffmpeg depends = sdl2_image depends = sdl2_mixer depends = sdl2_ttf depends = qt5-base - depends = qt5-tools depends = libxkbcommon-x11 - depends = desktop-file-utils - depends = gtk-update-icon-cache depends = hicolor-icon-theme depends = onetbb depends = fuzzylite @@ -8,11 +8,10 @@ pkgrel=1 pkgdesc="Open-source engine for Heroes of Might and Magic III" arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') url="http://vcmi.eu" -license=('GPL2') -depends=('boost-libs' 'ffmpeg' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'qt5-base' 'qt5-tools' 'libxkbcommon-x11' - 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme' 'onetbb' 'fuzzylite' - 'luajit') -makedepends=('boost' 'cmake' 'git' 'ccache') +license=('GPL-2.0-or-later AND CC-BY-SA-4.0') +depends=('boost-libs' 'ffmpeg' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'qt5-base' 'libxkbcommon-x11' + 'hicolor-icon-theme' 'onetbb' 'fuzzylite' 'luajit') +makedepends=('boost' 'cmake' 'git' 'ccache' 'qt5-tools') optdepends=('innoextract: required by vcmibuilder' 'unshield: required by vcmibuilder' 'unzip: required by vcmibuilder') provides=('vcmi') conflicts=('vcmi') diff --git a/vcmi.install b/vcmi.install index 34c243f2ebb2..fc4dcd14f315 100644 --- a/vcmi.install +++ b/vcmi.install @@ -1,7 +1,4 @@ post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - echo ">>>" echo ">>> Vcmi is a game engine and it doesn't contain data files. Therefore you have to have" echo ">>> an original copy of Heroes of Might and Magic 3 Shadow of Death or Complete edition." @@ -41,15 +38,7 @@ post_install() { echo ">>>" } -post_upgrade() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - post_remove() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - echo ">>>" echo ">>> In order to completely remove vcmi you will need to manually remove" echo ">>> ~/.local/share/vcmi, ~/.cache/vcmi and ~/.config/vcmi directories." |