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

commit 7da707a6d1449f4e26c0e42a031bb491f676ed32
Author: crazy <[email protected]>
Date:   Mon Nov 23 03:27:28 2015 +0100

drupal.sh - removed , not needed anymore

diff --git a/source/include/drupal.sh b/source/include/drupal.sh
deleted file mode 100644
index 1f64410..0000000
--- a/source/include/drupal.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-###
-# = drupal.sh(3)
-# CSÉCSY László <[email protected]>
-#
-# == NAME
-# drupal.sh - for Frugalware
-#
-# == SYNOPSIS
-# Common schema for drupal module packages.
-#
-# == EXAMPLE
-# --------------------------------------------------
-# # Compiling Time: 0 SBU
-# # Maintainer: CSÉCSY László <[email protected]>
-#
-# _F_drupal_module=image
-# pkgver=5.x_1.6
-# pkgrel=1
-# pkgdesc="Allow users with proper permissions to upload images into Drupal"
-# Finclude drupal
-# sha1sums=('7ee3232930abdf07e130ee0a4eb66bb8fb025dc1')
-# --------------------------------------------------
-#
-# == OPTIONS
-# * _F_drupal_module: the name of the module
-# * _F_drupal_ver (defaults to 5.x): the module is made for this version of 
Drupal
-# * _F_drupal_dev (defaults to 0): set to 1 for -dev modules
-###
-[ -z "$_F_drupal_ver" ] && _F_drupal_ver=5.x
-[ -z "$_F_drupal_dev" ] && _F_drupal_dev=0
-
-###
-# == OVERWRITTEN VARIABLES
-# * pkgname
-# * url
-# * rodepends()
-# * groups()
-# * archs()
-# * up2date
-# * source()
-# * options()
-###
-url="http://drupal.org/project/$_F_drupal_module";
-if [ $_F_drupal_ver == "5.x" ]; then
-       pkgname=drupal-$_F_drupal_module
-       rodepends=('drupal>=5.0' ${rodepends[@]})
-else
-       pkgname=drupal6-$_F_drupal_module
-       rodepends=('drupal6>=6.2' ${rodepends[@]})
-fi
-groups=('network-extra')
-archs=('i686' 'x86_64')
-if [ $_F_drupal_dev == 0 ]; then
-       up2date="lynx -dump http://drupal.org/project/$_F_drupal_module | grep 
-m1 'http://.*$_F_drupal_ver.*[^v]\.tar\.gz' | sed 
's/.*$_F_drupal_module-\(.*\)\.tar.*/\1/;y/-/_/'"
-       
source=(http://ftp.drupal.org/files/projects/$_F_drupal_module-${pkgver//_/-}.tar.gz)
-else
-#      up2date="lynx -dump http://drupal.org/project/$_F_drupal_module | grep 
'$_F_drupal_ver.*-dev[0-9][0-9]\]Download' | sed 
's/.*$_F_drupal_module-\(.*\)\.tar.*/\1/;s/-/_/'"
-       up2date="lynx -dump http://drupal.org/project/$_F_drupal_module | grep 
'$_F_drupal_ver.*-dev.*[0-9][0-9]\]Download' | sed 's/.*]\($_F_drupal_ver-[^ 
]*\) 
\+\([0-9]\{4\}-.\{3\}-[0-9][0-9]\).*/\1\2/;s/-Jan-/01/;s/-Feb-/02/;s/-Mar-/03/;s/-Apr-/04/;s/-May-/05/;s/-Jun-/06/;s/-Jul-/07/;s/-Aug-/07/;s/-Sep-/09/;s/-Oct-/10/;s/-Nov-/11/;s/-Dec-/12/;y/-/_/'"
-       filever=${pkgver//_dev*/_dev}
-       
source=(http://ftp.drupal.org/files/projects/$_F_drupal_module-${filever//_/-}.tar.gz)
-fi
-options=('stick' 'nodocs')
-
-###
-# == PROVIDED FUNCTIONS
-# * Fbuild_drupal()
-###
-Fbuild_drupal()
-{
-       if [ $_F_drupal_ver == "5.x" ]; then
-               Fmkdir var/www/drupal/sites/all/modules
-               mv $Fsrcdir/$_F_drupal_module 
$Fdestdir/var/www/drupal/sites/all/modules/$_F_drupal_module
-       else
-               Fmkdir var/www/drupal6/sites/all/modules
-               mv $Fsrcdir/$_F_drupal_module 
$Fdestdir/var/www/drupal6/sites/all/modules/$_F_drupal_module
-       fi
-}
-
-###
-# * build()
-###
-build()
-{
-       Fbuild_drupal
-}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to