summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck STAUFFER2020-09-11 12:18:10 +0200
committerFranck STAUFFER2020-09-11 12:18:10 +0200
commit37259721a20c9d637b8dd42695fe011a35815112 (patch)
tree8713071f28e4972b39ccaf6f28e373b79e306485
parent6ed31b7acf02d3ddd2588d70ad669c9028978088 (diff)
downloadaur-37259721a20c9d637b8dd42695fe011a35815112.tar.gz
Add desktop entry
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
-rw-r--r--voadi.desktop10
-rw-r--r--voadi.pngbin0 -> 4794 bytes
4 files changed, 28 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b32c24739c..12eddeadcdf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = voadi
pkgdesc = Vegan on a Desert Island: 2D adventure game about being a vegan on a desert island
pkgver = 0.3
- pkgrel = 1
+ pkgrel = 2
url = https://voadi.com
arch = any
license = GPL3
@@ -9,8 +9,12 @@ pkgbase = voadi
depends = solarus>=1.6.0
source = https://gitlab.com/voadi/voadi/-/archive/v0.3/voadi-v0.3.tar.gz
source = voadi
+ source = voadi.desktop
+ source = voadi.png
b2sums = bae0f590dde9b7866c69d5c85a560cc62b8265add59e16d39e6c4966fef8a77f572490d3d36d19ce277bc00909b96130466863ae9487aa137ec385a719ce7c5a
b2sums = 386cdde4e63fafb8476fe1e4e4adad63e9893e1fc58a1d0eb8b9588d0e6b246b097366221bb2813f4e714982cfad8a131c9e4809b73d86bfab92a67842227748
+ b2sums = 2de9a3b92d5376c62fcd4c00890001119c9565df7f538469828aaf781c2d70b24443d2996b99af37b5c1f119a30acd49ee734feff4e7ae677a104947cb6a3598
+ b2sums = 3ac7ede027e457162e3c3c7e88ed0656bb5e120cd2f04b8f6dadf0f4dc76fad398377f8a748d15c44f64077f9043d62fea066fbbc1e8f927960abe5f51052b89
pkgname = voadi
diff --git a/PKGBUILD b/PKGBUILD
index 456cde8c47a..efbf82b6931 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,30 @@
pkgname=voadi
pkgver=0.3
-pkgrel=1
-pkgdesc="Vegan on a Desert Island: 2D adventure game about being a vegan on a desert island"
+pkgrel=2
+pkgdesc='Vegan on a Desert Island: 2D adventure game about being a vegan on a desert island'
arch=('any')
-url="https://voadi.com"
+url='https://voadi.com'
license=('GPL3' 'custom')
depends=('solarus>=1.6.0')
source=("https://gitlab.com/$pkgname/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz"
- "$pkgname")
+ "$pkgname"
+ "$pkgname.desktop"
+ "$pkgname.png")
b2sums=('bae0f590dde9b7866c69d5c85a560cc62b8265add59e16d39e6c4966fef8a77f572490d3d36d19ce277bc00909b96130466863ae9487aa137ec385a719ce7c5a'
- '386cdde4e63fafb8476fe1e4e4adad63e9893e1fc58a1d0eb8b9588d0e6b246b097366221bb2813f4e714982cfad8a131c9e4809b73d86bfab92a67842227748')
+ '386cdde4e63fafb8476fe1e4e4adad63e9893e1fc58a1d0eb8b9588d0e6b246b097366221bb2813f4e714982cfad8a131c9e4809b73d86bfab92a67842227748'
+ '2de9a3b92d5376c62fcd4c00890001119c9565df7f538469828aaf781c2d70b24443d2996b99af37b5c1f119a30acd49ee734feff4e7ae677a104947cb6a3598'
+ '3ac7ede027e457162e3c3c7e88ed0656bb5e120cd2f04b8f6dadf0f4dc76fad398377f8a748d15c44f64077f9043d62fea066fbbc1e8f927960abe5f51052b89')
package() {
- install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
cd "$pkgname-v$pkgver"
install -dm755 "$pkgdir/usr/share/solarus"
- cp -r data "$pkgdir/usr/share/solarus/voadi"
+ cp -r data "$pkgdir/usr/share/solarus/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 attributions.txt "$pkgdir/usr/share/licenses/$pkgname/ATTRIBUTIONS"
diff --git a/voadi.desktop b/voadi.desktop
new file mode 100644
index 00000000000..de3e15a274c
--- /dev/null
+++ b/voadi.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Vegan on a Desert Island
+Comment=Adventure game about being a vegan stranded on a desert island
+Path=/usr/bin
+Exec=voadi
+Icon=voadi
+Terminal=false
+Categories=Game;
diff --git a/voadi.png b/voadi.png
new file mode 100644
index 00000000000..165dc51da5e
--- /dev/null
+++ b/voadi.png
Binary files differ