update deb build script

pull/28/head
wowario 3 years ago
parent 40a575a5d6
commit fb3fc3bd8d
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -6,18 +6,41 @@ set -e
DEBDIR="$PWD/wowlet.DebDir"
mkdir -p "$DEBDIR"
mkdir -p "$DEBDIR/DEBIAN/"
mkdir -p "$DEBDIR/debian/"
mkdir -p "$DEBDIR/usr/bin/"
mkdir -p "$DEBDIR/usr/share/doc/wowlet/"
mkdir -p "$DEBDIR/usr/share/metainfo/"
mkdir -p "$DEBDIR/usr/share/applications/"
mkdir -p "$DEBDIR/usr/share/pixmaps/"
mkdir -p "$DEBDIR/usr/bin"
mkdir -p "$DEBDIR/usr/share/man/man1/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/scalable/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/48x48/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/64x64/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/96x96/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/128x128/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/192x192/apps/"
mkdir -p "$DEBDIR/usr/share/icons/hicolor/256x256/apps/"
# Copy over assets
cp "$PWD/src/assets/wowlet.desktop" "$DEBDIR/usr/share/applications/wowlet.desktop"
cp "$PWD/src/assets/images/wowlet.png" "$DEBDIR/usr/share/pixmaps/wowlet.png"
cp "$PWD/build/bin/wowlet" "$DEBDIR/usr/bin/wowlet"
cp "$PWD/src/assets/control" "$DEBDIR/DEBIAN/control"
cp "$PWD/src/assets/copyright" "$DEBDIR/debian/copyright"
cp "$PWD/src/assets/copyright" "$DEBDIR/usr/share/doc/wowlet/copyright"
cp "$PWD/src/assets/changelog.gz" "$DEBDIR/usr/share/doc/wowlet/changelog.gz"
cp "$PWD/src/assets/org.wowlet.wowlet.metainfo.xml" "$DEBDIR/usr/share/metainfo/org.wowlet.wowlet.metainfo.xml"
cp "$PWD/README.md" "$DEBDIR/usr/share/doc/wowlet/README"
cp "$PWD/SECURITY.md" "$DEBDIR/usr/share/doc/wowlet/SECURITY"
cp "$PWD/build/bin/wowlet" "$DEBDIR/usr/bin/wowlet"
cp "$PWD/src/assets/org.wowlet.wowlet.desktop" "$DEBDIR/usr/share/applications/org.wowlet.wowlet.desktop"
cp "$PWD/src/assets/wowlet.1.gz" "$DEBDIR/usr/share/man/man1/wowlet.1.gz"
cp "$PWD/src/assets/images/appicons/wowlet.svg" "$DEBDIR/usr/share/icons/hicolor/scalable/apps/wowlet.svg"
cp "$PWD/src/assets/images/appicons/48x48.png" "$DEBDIR/usr/share/icons/hicolor/48x48/apps/wowlet.png"
cp "$PWD/src/assets/images/appicons/64x64.png" "$DEBDIR/usr/share/icons/hicolor/64x64/apps/wowlet.png"
cp "$PWD/src/assets/images/appicons/96x96.png" "$DEBDIR/usr/share/icons/hicolor/96x96/apps/wowlet.png"
cp "$PWD/src/assets/images/appicons/128x128.png" "$DEBDIR/usr/share/icons/hicolor/128x128/apps/wowlet.png"
cp "$PWD/src/assets/images/appicons/192x192.png" "$DEBDIR/usr/share/icons/hicolor/192x192/apps/wowlet.png"
cp "$PWD/src/assets/images/appicons/256x256.png" "$DEBDIR/usr/share/icons/hicolor/256x256/apps/wowlet.png"
# Build deb package
dpkg-deb --build $DEBDIR
mv wowlet.DebDir.deb wowlet.deb
mv wowlet.DebDir.deb wowlet_1.0_amd64.deb

Binary file not shown.

@ -1,12 +1,12 @@
Package: wowlet
Version: 0.1.0.0
Version: 1.0
Section: net
Priority: optional
Architecture: amd64
Essential: no
Installed-Size: 76800
Maintainer: wowario <wowario@protonmail.com>
Description: a free Wownero desktop wallet
Description: WOWlet is a free, open-source Wownero client for Linux with ports for Mac OS and Windows.
Tag: office::finance
Homepage: https://git.wownero.com/wowlet/wowlet
Depends: libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-render-util0, libxcb-xkb1, libxkbcommon-x11-0

@ -0,0 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: wowlet
Source: https://git.wownero.com/wowlet/wowlet
Files: *
Copyright: (c) 2020-2021 The Monero Project
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -1,14 +1,15 @@
[Desktop Entry]
Comment=Lightweight Wownero Wallet
Exec=wowlet
GenericName[en_US]=Wownero Wallet
Type=Application
Version=1.0
Name=WOWlet
GenericName=Wownero Wallet
Comment=Lightweight Wownero Wallet
Icon=wowlet
Name[en_US]=WOWlet
Name=WOWlet
Categories=Finance;Network;
StartupNotify=false
StartupWMClass=wowlet
Exec=wowlet
Terminal=false
Type=Application
MimeType=x-scheme-handler/wownero;
Categories=Network;
Keywords=wow;wownero;cryptocurrency;dank;meme;
StartupNotify=false
StartupWMClass=wowlet
PrefersNonDefaultGPU=false

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2021 The Monero Project -->
<component type="desktop-application">
<id>org.wowlet.wowlet</id>
<metadata_license>BSD-3-Clause</metadata_license>
<project_license>BSD-3-Clause</project_license>
<name>WOWlet</name>
<summary>Lightweight Wownero Wallet</summary>
<description>
<p>
WOWlet is a free, open-source Wownero client for Linux with ports for Mac OS and Windows.
</p>
</description>
<launchable type="desktop-id">org.wowlet.wowlet.desktop</launchable>
<screenshots>
<screenshot type="default">
<caption>Wow Dark Theme</caption>
<image>https://i.imgur.com/KMFrtpZ.png</image>
</screenshot>
<url type="homepage">https://git.wownero.com/wowlet/wowlet</url>
<project_group>WOWlet</project_group>
<provides>
<binary>wowlet</binary>
</provides>
<releases>
<release version="1.0.0" date="2021-03-29">
<description>
<p>Initial release.</p>
</description>
</release>
</releases>
</component>
Loading…
Cancel
Save