summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi BERTHO2015-12-10 18:37:15 +0100
committerRémi BERTHO2015-12-10 18:37:15 +0100
commit7e8c454de7717e9a8a375b2b84b79cc8083611d6 (patch)
treee568d6fd833cefddcd703ed90885416cf063d5ed
downloadaur-7e8c454de7717e9a8a375b2b84b79cc8083611d6.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rwxr-xr-xINSTALL12
-rwxr-xr-xPKGBUILD31
-rw-r--r--logo.pngbin0 -> 32062 bytes
-rwxr-xr-xrecettescuisine2
-rwxr-xr-xrecettescuisine.desktop11
6 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba315003100
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Dec 10 17:36:27 UTC 2015
+pkgbase = recettescuisine
+ pkgdesc = A recipe manager written in java
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = http://www.dalan.rd-h.fr/wordpress
+ install = INSTALL
+ arch = any
+ license = GPL
+ depends = java-runtime
+ source = http://www.dalan.rd-h.fr/binaries/RecettesCuisine/RecettesCuisine.jar
+ source = logo.png
+ source = recettescuisine.desktop
+ source = recettescuisine
+ sha256sums = 7bdfd354e21704939dd17caa7561586a6ef544706f07f44d1be4742d1937e31f
+ sha256sums = b22cfa31a19a5027a236b2d968f39378967ee11e309d8405b3784699f64bde7a
+ sha256sums = e553612b1a2086f79fec4253bfde61c66d6dcebe3bde74c38b43c895b7a7c5c1
+ sha256sums = 1a00beeaaaf5e0aece33f3428c9ea033c5e236a7362ad17016bebb887efe6f8e
+
+pkgname = recettescuisine
+
diff --git a/INSTALL b/INSTALL
new file mode 100755
index 00000000000..c0f1aedafbe
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..55fb622ad16
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Rémi BERTHO <remi.bertho@openmailbox.org>
+# Contributor: Rémi BERTHO <remi.bertho@openmailbox.org>
+pkgname=recettescuisine
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A recipe manager written in java"
+arch=(any)
+url="http://www.dalan.rd-h.fr/wordpress"
+license=('GPL')
+depends=('java-runtime')
+install="INSTALL"
+source=('http://www.dalan.rd-h.fr/binaries/RecettesCuisine/RecettesCuisine.jar'
+ 'logo.png'
+ 'recettescuisine.desktop'
+ 'recettescuisine')
+sha256sums=('7bdfd354e21704939dd17caa7561586a6ef544706f07f44d1be4742d1937e31f'
+ 'b22cfa31a19a5027a236b2d968f39378967ee11e309d8405b3784699f64bde7a'
+ 'e553612b1a2086f79fec4253bfde61c66d6dcebe3bde74c38b43c895b7a7c5c1'
+ '1a00beeaaaf5e0aece33f3428c9ea033c5e236a7362ad17016bebb887efe6f8e')
+
+package()
+{
+ mkdir -p "$pkgdir/usr/bin/"
+ mkdir -p "$pkgdir/usr/share/recettescuisine/"
+ mkdir -p "$pkgdir/usr/share/applications/"
+
+ cp recettescuisine "$pkgdir/usr/bin/"
+ cp RecettesCuisine.jar "$pkgdir/usr/share/recettescuisine/"
+ cp logo.png "$pkgdir/usr/share/recettescuisine/"
+ cp recettescuisine.desktop "$pkgdir/usr/share/applications/"
+}
diff --git a/logo.png b/logo.png
new file mode 100644
index 00000000000..7622f2eeabe
--- /dev/null
+++ b/logo.png
Binary files differ
diff --git a/recettescuisine b/recettescuisine
new file mode 100755
index 00000000000..34da4c66af6
--- /dev/null
+++ b/recettescuisine
@@ -0,0 +1,2 @@
+#!/bin/bash
+java -jar /usr/share/recettescuisine/RecettesCuisine.jar
diff --git a/recettescuisine.desktop b/recettescuisine.desktop
new file mode 100755
index 00000000000..ee3a49b41c7
--- /dev/null
+++ b/recettescuisine.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=RecettesCuisine
+Icon=/usr/share/recettescuisine/logo.png
+Exec=recettescuisine
+NoDisplay=false
+Categories=Office;
+StartupNotify=false
+Terminal=false
+Name[fr_FR]=RecettesCuisine