diff options
author | escape0707 | 2023-01-30 20:20:44 +0900 |
---|---|---|
committer | escape0707 | 2023-01-30 20:20:44 +0900 |
commit | d4d60b2a692930a0535ac67dae455f09f805f048 (patch) | |
tree | 3a341dd7a954d849daf483ab90ae0a3c216f3329 | |
parent | 08fb0f27753e42bdbbd5c608700c3efa16a07caa (diff) | |
download | aur-d4d60b2a692930a0535ac67dae455f09f805f048.tar.gz |
Include man and mime files
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 23 insertions, 7 deletions
@@ -30,17 +30,26 @@ pkgbase = anki-bin noextract = anki-2.1.57-cp39-abi3-manylinux_2_28_x86_64.whl noextract = aqt-2.1.57-py3-none-any.whl noextract = runanki.py + noextract = anki.1 noextract = anki.desktop noextract = anki.png + noextract = anki.xml + noextract = anki.xpm source = https://files.pythonhosted.org/packages/cp39/a/anki/anki-2.1.57-cp39-abi3-manylinux_2_28_x86_64.whl source = https://files.pythonhosted.org/packages/py3/a/aqt/aqt-2.1.57-py3-none-any.whl source = runanki-2.1.57.py::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/runanki.py + source = anki-2.1.57.1::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/bundle/lin/anki.1 source = anki-2.1.57.desktop::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/bundle/lin/anki.desktop source = anki-2.1.57.png::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/bundle/lin/anki.png + source = anki-2.1.57.xml::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/bundle/lin/anki.xml + source = anki-2.1.57.xpm::https://raw.githubusercontent.com/ankitects/anki/2.1.57/qt/bundle/lin/anki.xpm sha256sums = 28c5354de3c03b378cbc5e11220c57798822cd84ea06a0fc6662e49b63965685 sha256sums = ae8a5d5bbeffa228f76df8c6e8121b79aeab20745b1953c0f0e3106324d6e36b sha256sums = 9648e7e915f51f08e05c48ef5f39b4015922fe1cf3d7f2895535ef10ef4507ae + sha256sums = 8b9fec8fdf2897b4722f8cee169e9fb1e46cee90d3fb03ee12587e30c2f5dad7 sha256sums = 53db2e5bfeb00aa249667e09466a34bfacb17b61097875a8cdd93ee1a9380b9a sha256sums = 97ad2134ef1a7686789c7becd8bd05dd8693cf0d3127951ca6ba7b29a80b402a + sha256sums = 2845a528fb3a064b67404a03d72bfaba9b421cb220b25228b815946c6553ce38 + sha256sums = d814c62e38246b6e4ba73ee037647a29675925167518137f05a8f9e60c258b6e pkgname = anki-bin @@ -56,23 +56,30 @@ source=( "https://files.pythonhosted.org/packages/$_py/${_anki::1}/$_anki/$_anki_whl" "https://files.pythonhosted.org/packages/py3/${_aqt::1}/$_aqt/$_aqt_whl" "runanki-$pkgver.py::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/runanki.py" + "anki-$pkgver.1::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/bundle/lin/anki.1" "anki-$pkgver.desktop::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/bundle/lin/anki.desktop" "anki-$pkgver.png::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/bundle/lin/anki.png" + "anki-$pkgver.xml::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/bundle/lin/anki.xml" + "anki-$pkgver.xpm::https://raw.githubusercontent.com/ankitects/anki/$pkgver/qt/bundle/lin/anki.xpm" ) noextract=("${source[@]##*/}") -sha256sums=( - '28c5354de3c03b378cbc5e11220c57798822cd84ea06a0fc6662e49b63965685' - 'ae8a5d5bbeffa228f76df8c6e8121b79aeab20745b1953c0f0e3106324d6e36b' - '9648e7e915f51f08e05c48ef5f39b4015922fe1cf3d7f2895535ef10ef4507ae' - '53db2e5bfeb00aa249667e09466a34bfacb17b61097875a8cdd93ee1a9380b9a' - '97ad2134ef1a7686789c7becd8bd05dd8693cf0d3127951ca6ba7b29a80b402a' -) +sha256sums=('28c5354de3c03b378cbc5e11220c57798822cd84ea06a0fc6662e49b63965685' + 'ae8a5d5bbeffa228f76df8c6e8121b79aeab20745b1953c0f0e3106324d6e36b' + '9648e7e915f51f08e05c48ef5f39b4015922fe1cf3d7f2895535ef10ef4507ae' + '8b9fec8fdf2897b4722f8cee169e9fb1e46cee90d3fb03ee12587e30c2f5dad7' + '53db2e5bfeb00aa249667e09466a34bfacb17b61097875a8cdd93ee1a9380b9a' + '97ad2134ef1a7686789c7becd8bd05dd8693cf0d3127951ca6ba7b29a80b402a' + '2845a528fb3a064b67404a03d72bfaba9b421cb220b25228b815946c6553ce38' + 'd814c62e38246b6e4ba73ee037647a29675925167518137f05a8f9e60c258b6e') package() { python -m installer --destdir="$pkgdir" $_anki_whl python -m installer --destdir="$pkgdir" $_aqt_whl install -Dm755 runanki-$pkgver.py "$pkgdir/usr/bin/anki" + install -Dm644 anki-$pkgver.1 "$pkgdir/usr/share/man/man1/anki.1" install -Dm644 anki-$pkgver.desktop "$pkgdir/usr/share/applications/anki.desktop" install -Dm644 anki-$pkgver.png "$pkgdir/usr/share/pixmaps/anki.png" + install -Dm644 anki-$pkgver.xml "$pkgdir/usr/share/mime/packages/anki.xml" + install -Dm644 anki-$pkgver.xpm "$pkgdir/usr/share/pixmaps/anki.xpm" } |