Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=8ca3a778e1b07a7973ed56bcb8d83cd4d3e4a798

commit 8ca3a778e1b07a7973ed56bcb8d83cd4d3e4a798
Author: Devil505 <devil505li...@gmail.com>
Date:   Sun Jan 2 10:09:35 2011 +0100

* schema for packages listed on gnome-look.org

diff --git a/source/include/gnome-look.sh b/source/include/gnome-look.sh
new file mode 100644
index 0000000..93307f7
--- /dev/null
+++ b/source/include/gnome-look.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+###
+# = gnome-look.sh(3)
+# Devil505 <devil505li...@gmail.com>
+#
+# == NAME
+# gnome-look..sh - for Frugalware
+#
+# == SYNOPSIS
+# Common schema for packages listed on gnome-look.org.
+#
+# == EXAMPLE
+# --------------------------------------------------
+# pkgname=somatic-icon-theme
+# pkgver=0.2
+# pkgrel=1
+# pkgdesc="The Somatic icons have been used with permission from David Lanham"
+# depends=('icon-naming-utils' 'libpng')
+# groups=('xlib-extra')
+# archs=('i686' 'x86_64')
+# _F_archive_name="ICON-Somatic"
+# _F_gnome_look_id="64638"
+# Finclude gnome-look
+# 
source=(http://www.mibhouse.org/pokemon_jojo/public/files/$_F_archive_name-$pkgver.tar.gz)
+# sha1sums=('9ac4a3b3e920c3d6ef81c29b2f1dcfec7db11ac7')
+# --------------------------------------------------
+#
+# == OPTIONS
+# * _F_gnome_look_id : to indicate the content ID of the project on 
gnome-look.org
+###
+
+if [ -n "$_F_gnome_look_id" ]; then
+       
url="http://www.gnome-look.org/content/show.php?content=$_F_gnome_look_id";
+       up2date="lynx -dump "$url"|grep -v http|grep  -m1 '      
[0-9.0-9.0-9]'|sed 's/      \(.*\).*/\1/'"
+fi
+
+###
+# == OVERWRITTEN VARIABLES
+# * up2date
+# * url
+###
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to