Browse Source

add deb build script [CI SKIP]

pull/21/head
wowario 4 months ago
parent
commit
1265307bd0
Signed by: wowario GPG Key ID: 24DCBE762DE9C111
  1. 23
      contrib/build-deb.sh
  2. 12
      src/assets/control

23
contrib/build-deb.sh

@ -0,0 +1,23 @@
#!/bin/bash
set -e
# Make directories
DEBDIR="$PWD/wowlet.DebDir"
mkdir -p "$DEBDIR"
mkdir -p "$DEBDIR/DEBIAN/"
mkdir -p "$DEBDIR/usr/share/applications/"
mkdir -p "$DEBDIR/usr/share/pixmaps/"
mkdir -p "$DEBDIR/usr/bin"
# 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"
# Build deb package
dpkg-deb --build $DEBDIR
mv wowlet.DebDir.deb wowlet.deb

12
src/assets/control

@ -0,0 +1,12 @@
Package: wowlet
Version: 0.1.0.0
Section: net
Priority: optional
Architecture: amd64
Essential: no
Installed-Size: 76800
Maintainer: wowario <wowario@protonmail.com>
Description: a free Wownero desktop wallet
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
Loading…
Cancel
Save