diff options
author | AlexBocken | 2022-12-17 10:08:48 +0100 |
---|---|---|
committer | AlexBocken | 2022-12-17 10:08:48 +0100 |
commit | 30c22824d4eb4e6eba6182b19cd1dddb225e95f1 (patch) | |
tree | 6288ee331de318d26a6e3a90de8ed80f0b2dfdb7 | |
parent | 83d44f747cc6fc2297adb65f1f9e0483785a3fcd (diff) | |
download | aur-30c22824d4eb4e6eba6182b19cd1dddb225e95f1.tar.gz |
add icon and .desktop files
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = anki-qt5 pkgdesc = Helps you remember facts (like words/phrases in a foreign language) - Qt5 Build pkgver = 2.1.55 - pkgrel = 3 + pkgrel = 4 url = https://apps.ankiweb.net/ arch = x86_64 license = AGPL3 @@ -9,7 +9,7 @@ pkgname=anki-qt5 pkgver=2.1.55 -pkgrel=3 +pkgrel=4 pkgdesc="Helps you remember facts (like words/phrases in a foreign language) - Qt5 Build" url="https://apps.ankiweb.net/" license=('AGPL3') @@ -55,6 +55,8 @@ optdepends=( 'mpv: play sound. prefered over mplayer' 'mplayer: play sound' ) +# using the tag tarballs does not work with the new (>= 2.1.55) build process. +# the '.git' folder is not included in those but is required for a sucessful build source=("anki-${pkgver}::git+https://github.com/ankitects/anki#tag=${pkgver}" "no-update.patch" "force_qt5.patch" @@ -85,6 +87,8 @@ package() { python -m installer --destdir="$pkgdir" $file done + install -Dm644 qt/bundle/lin/anki.desktop "$pkgdir"/usr/share/applications/anki.desktop + install -Dm644 qt/bundle/lin/anki.png "$pkgdir"/usr/share/pixmaps/anki.png find $pkgdir -iname __pycache__ | xargs -r rm -rf find $pkgdir -iname direct_url.json | xargs -r rm -rf } |