Skip to content

Commit

Permalink
Initial release .deb with cargo-deb
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-art committed Nov 8, 2020
1 parent 67c4a41 commit b5a5b8c
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 1 deletion.
21 changes: 20 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "lorem"
description = "Lorem Ipsun generator"
version = "0.1.0"
authors = ["alt-art <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -11,4 +14,20 @@ rand = "0.7.3"
glib = "0.10.2"
gtk = "0.9.2"
gdk = "0.13.2"
gio = "0.9.1"
gio = "0.9.1"

[package.metadata.deb]
maintainer = "Pedro Mendes <[email protected]>"
copyright = "2020, Pedro Mendes <[email protected]>"
license-file = ["LICENSE", "3"]
extended-description = "Lorem Ipsum generator for prototype desing"
section = "utility"
priority = "optional"
assets = [
# Binary
["target/release/lorem", "/usr/bin/", "111"],
# .Desktop
["resources/lorem.desktop", "/usr/share/applications/","644"],
# Icon
["resources/lorem.svg", "/usr/share/icons/hicolor/scalable/apps/","644"]
]
5 changes: 5 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lorem (0.1.0) stable; urgency=low

* Initial release.

-- Pedro Mendes <[email protected]> Sunday, 08 Nov 2020 08:41:00 -0300
8 changes: 8 additions & 0 deletions resources/lorem.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Lorem
Comment=A Lorem Ipsum generator
Exec=lorem
Icon=lorem
Terminal=false
85 changes: 85 additions & 0 deletions resources/lorem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5a5b8c

Please sign in to comment.