Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=48d2973c6205908e2aef8dbf2d57714950f907ab

commit 48d2973c6205908e2aef8dbf2d57714950f907ab
Author: DeX77 <[email protected]>
Date:   Mon Feb 13 16:37:49 2017 +0100

riot-0.9.7-1-x86_64

* new package

diff --git a/source/xapps-extra/riot/FrugalBuild 
b/source/xapps-extra/riot/FrugalBuild
new file mode 100644
index 0000000..3317c0f
--- /dev/null
+++ b/source/xapps-extra/riot/FrugalBuild
@@ -0,0 +1,41 @@
+# Compiling Time: 26.46 SBU
+# Maintainer: DeX77 <[email protected]>
+
+pkgname=riot
+pkgver=0.9.7
+pkgrel=1
+pkgdesc='A feature-rich client for Matrix.org'
+depends=('glibc')
+makedepends=('nodejs' 'git')
+groups=('xapps-extra')
+archs=('x86_64')
+_F_github_author="vector-im"
+_F_github_name="riot-web"
+_F_github_tag_v=yes
+_F_cd_path="${_F_github_name}-$pkgver"
+_F_desktop_exec=/usr/bin/riot
+_F_desktop_icon=riot-web
+_F_desktop_categories=Network
+_F_gnome_iconcache=y
+Finclude github gnome-scriptlet
+sha1sums=('f692b5fc8dc194ce2eb5026e7f76393157cb937c')
+
+build() {
+  Fcd
+  Fsed -'@https://riot.im/download/desktop/update/' 'null' 
electron/riot.im/config.json
+  Fexec npm install || Fdie
+  Fexec npm install electron || Fdie
+  Fexec npm run build || Fdie
+  Fexec node_modules/.bin/build -l --x64 || Fdie
+
+  Fmkdir usr/share/$pkgname
+  Fcprel electron/dist/linux-unpacked/\* usr/share/$pkgname/
+
+  for size in 128x128 16x16 24x24 256x256 48x48 512x512 64x64 96x96
+  do
+         Finstallrel 644 electron/build/icons/$size.png 
/usr/share/icons/hicolor/$size/apps/riot-web.png
+  done
+  Fln /usr/share/$pkgname/riot-web /usr/bin/$pkgname
+
+  Fdesktop2
+}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to