This repository was archived by the owner on Nov 13, 2022. It is now read-only.
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ check() {
38
38
package () {
39
39
cd " $pkgname -$pkgver "
40
40
python setup.py install --root=" $pkgdir "
41
+ install -vDm644 -t " ${pkgdir} /usr/share/pixmaps" plover/assets/plover.png
42
+ install -vDm644 -t " ${pkgdir} /usr/share/applications" application/plover.desktop
41
43
chmod og+rX -R " $pkgdir "
42
44
}
43
45
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ env PYTHONPATH="$PWD/.deps" %{__python3} setup.py compile_catalog build_ui build
46
46
47
47
%install
48
48
env PYTHONPATH=" $PWD /.deps" %py3_install
49
+ install -vDm644 -t " %{buildroot}/usr/share/pixmaps" plover/assets/plover.png
50
+ install -vDm644 -t " %{buildroot}/usr/share/applications" application/plover.desktop
49
51
50
52
%check
51
53
env PYTHONPATH=" $PWD /.deps" %{__python3} setup.py test
Original file line number Diff line number Diff line change @@ -467,8 +467,4 @@ def run(self):
467
467
options = options ,
468
468
cmdclass = cmdclass ,
469
469
extras_require = extras_require ,
470
- data_files = [
471
- ('share/applications' , ['application/plover.desktop' ]),
472
- ('share/pixmaps' , ['plover/assets/plover.png' ]),
473
- ],
474
470
)
You can’t perform that action at this time.
0 commit comments