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

commit dd621cab3963f5e0f50d917021ec597d5397d55a
Author: Devil505 <devil505li...@gmail.com>
Date:   Sun Jan 2 11:29:01 2011 +0100

* schema for packages listed on gtk-apps.org

diff --git a/source/include/gtk-apps.sh b/source/include/gtk-apps.sh
new file mode 100644
index 0000000..de926fe
--- /dev/null
+++ b/source/include/gtk-apps.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+###
+# = gtk-apps.sh(3)
+# Devil505 <devil505li...@gmail.com>
+#
+# == NAME
+# gtk-apps.sh - for Frugalware
+#
+# == SYNOPSIS
+# Common schema for packages listed on gtk-apps.org.
+#
+# == EXAMPLE
+# --------------------------------------------------
+# soon !
+# --------------------------------------------------
+#
+# == OPTIONS
+# * _F_gtk_apps_id : to indicate the content ID of the project on gtk-apps.org
+###
+
+if [ -n "$_F_gtk_apps_id" ]; then
+       url="http://www.gtk-apps.org/content/show.php?content=$_F_gtk_apps_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