summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexBocken2022-12-17 09:57:56 +0100
committerAlexBocken2022-12-17 09:57:56 +0100
commita01ba1618f73b54de1920338f649d278be5a66ad (patch)
treea53b51fda2a7591435139b4d67dfe52de452762a
parent7224e12ccfb2b81a309dad1c38655e47f5988b13 (diff)
downloadaur-a01ba1618f73b54de1920338f649d278be5a66ad.tar.gz
add icon and .desktop
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 05ea7052fd8e..82420e1ed329 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = anki
pkgdesc = Helps you remember facts (like words/phrases in a foreign language) efficiently
pkgver = 2.1.55
- pkgrel = 3
+ pkgrel = 4
url = https://apps.ankiweb.net/
arch = x86_64
license = AGPL3
diff --git a/PKGBUILD b/PKGBUILD
index cdfc6dcdd796..d5d0265f87a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=anki
pkgver=2.1.55
-pkgrel=3
+pkgrel=4
pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently"
url="https://apps.ankiweb.net/"
license=('AGPL3')
@@ -80,6 +80,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
# TODO: verify whether still required
find $pkgdir -iname __pycache__ | xargs -r rm -rf
find $pkgdir -iname direct_url.json | xargs -r rm -rf