mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +00:00
debian package
This commit is contained in:
parent
24656e4060
commit
025c3fd718
@ -9,13 +9,13 @@
|
||||
</mask>
|
||||
<g mask="url(#a)">
|
||||
<path fill="#555" d="M0 0h63v20H0z"/>
|
||||
<path fill="#a4a61d" d="M63 0h36v20H63z"/>
|
||||
<path fill="#dfb317" d="M63 0h36v20H63z"/>
|
||||
<path fill="url(#b)" d="M0 0h99v20H0z"/>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
|
||||
<text x="31.5" y="14">coverage</text>
|
||||
<text x="80" y="15" fill="#010101" fill-opacity=".3">87%</text>
|
||||
<text x="80" y="14">87%</text>
|
||||
<text x="80" y="15" fill="#010101" fill-opacity=".3">61%</text>
|
||||
<text x="80" y="14">61%</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 904 B |
0
badges.sh → scripts/badges.sh
Normal file → Executable file
0
badges.sh → scripts/badges.sh
Normal file → Executable file
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# builds .deb and .appimage files in order to distribute them
|
||||
|
||||
build_deb() {
|
||||
# https://github.com/phusion/debian-packaging-for-the-modern-developer/tree/master/tutorial-1
|
||||
@ -8,15 +9,14 @@ build_deb() {
|
||||
python3 setup.py sdist --dist-dir $dist
|
||||
tar -C $dist -xzf $dist/$name.tar.gz
|
||||
rm $dist/$name.tar.gz
|
||||
cp deb/DEBIAN $dist/$name -r
|
||||
cp DEBIAN $dist/$name -r
|
||||
dpkg-deb -b $dist/$name $dist/$name.deb
|
||||
rm $dist/$name -r
|
||||
cp $dist/$name.deb deb
|
||||
echo ".deb package created"
|
||||
echo "created $dist/$name.deb"
|
||||
}
|
||||
|
||||
build_appimage() {
|
||||
|
||||
echo "created $dist/$name.appimage"
|
||||
}
|
||||
|
||||
|
15
setup.py
15
setup.py
@ -22,9 +22,6 @@
|
||||
import glob
|
||||
from setuptools import setup
|
||||
|
||||
with open('README.md', 'r') as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name='key-mapper',
|
||||
version='0.1.0',
|
||||
@ -39,14 +36,10 @@ setup(
|
||||
'keymapper.gtk'
|
||||
],
|
||||
data_files=[
|
||||
('share/key-mapper/', glob.glob('data/*')),
|
||||
('share/applications/', ['data/key-mapper.desktop']),
|
||||
('/usr/share/key-mapper/', glob.glob('data/*')),
|
||||
('/usr/share/applications/', ['data/key-mapper.desktop']),
|
||||
('/etc/xdg/autostart/', ['data/key-mapper-service.desktop']),
|
||||
('/usr/bin/', ['bin/key-mapper-gtk']),
|
||||
('/usr/bin/', ['bin/key-mapper-service']),
|
||||
],
|
||||
scripts=[
|
||||
'bin/key-mapper-gtk',
|
||||
'bin/key-mapper-service'
|
||||
],
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user