debian package creation

This commit is contained in:
Kingkor Roy Tirtho 2022-01-13 23:18:38 +06:00
parent 9f35cae97e
commit f8b07472e5
7 changed files with 21 additions and 26 deletions

2
.gitignore vendored
View File

@ -50,3 +50,5 @@ app.*.map.json
/aur-struct/*.tar
/aur-struct/src
/aur-struct/pkg
/deb-struct/usr

10
control
View File

@ -1,10 +0,0 @@
Package: Spotube
Version: 0.0.3
Section: sound
Priority: optional
Architecture: all
Essential: no
Installed-Size: 31000
Maintainer: KR Tirtho
Description: A music streaming app combining the power of Spotify & Youtube
Homepage: https://github.com/KRTirtho/spotube

View File

@ -1,4 +0,0 @@
{
"appName": "name",
"version": "0.1"
}

View File

@ -4,7 +4,7 @@ Section: sound
Priority: optional
Architecture: all
Essential: no
Installed-Size: 31000
Maintainer: KR Tirtho
Description: A music streaming app combining the power of Spotify & Youtube
Installed-Size: 24400
Maintainer: Kingkor Roy Tirtho
Description: A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed
Homepage: https://github.com/KRTirtho/spotube

8
deb-struct/DEBIAN/postinst Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
echo Creating symlink
ln -s /usr/share/spotube/spotube /usr/bin
chmod +x /usr/bin/spotube
exit 0

7
deb-struct/DEBIAN/postrm Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
echo Removing symlink
rm /usr/bin/spotube
exit 0

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Type=Application
Name=Spotube
Exec=/usr/bin/spotube
Icon=/usr/share/icons/spotube/spotube-logo.png
Comment=A music streaming app combining the power of Spotify & Youtube
Terminal=false
Categories=Music;