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

commit e257e69185825028ecdbcc44158622f1cffb223f
Author: James Buren <[email protected]>
Date:   Sat Feb 2 03:59:50 2013 -0600

pacman-tools-1.3.3-1-x86_64
* add Fuse for building for stable with patch

diff --git a/source/devel/pacman-tools/FrugalBuild 
b/source/devel/pacman-tools/FrugalBuild
index 721f374..002cca7 100644
--- a/source/devel/pacman-tools/FrugalBuild
+++ b/source/devel/pacman-tools/FrugalBuild
@@ -2,6 +2,7 @@
# Maintainer: Miklos Vajna <[email protected]>

USE_DEVEL=${USE_DEVEL:-"n"}
+USE_STABLE=${USE_STABLE:-"n"}

pkgname=pacman-tools
pkgver=1.3.3
@@ -20,6 +21,10 @@ up2date="Flasttar $url"
if ! Fuse $USE_DEVEL; then
source=($url/$pkgname-$pkgver.tar.gz)
signatures=(${source[0]}.asc)
+       if Fuse $USE_STABLE; then
+               source=("${source[@]}" stable.patch)
+               signatures=("${signatures[@]}" '')
+       fi
else
_F_scm_type="git"
_F_scm_url="git://git.frugalware.org/pub/other/pacman-tools/pacman-tools"
diff --git a/source/devel/pacman-tools/stable.patch 
b/source/devel/pacman-tools/stable.patch
new file mode 100644
index 0000000..950cdf6
--- /dev/null
+++ b/source/devel/pacman-tools/stable.patch
@@ -0,0 +1,14 @@
+diff -ur a/repoman.conf b/repoman.conf
+--- a/repoman.conf     2012-10-10 01:09:41.000000000 -0500
++++ b/repoman.conf     2013-02-02 03:57:31.884598372 -0600
+@@ -7,8 +7,8 @@
+
+ # the order is important, the first repo will be used as a default for
+ # developer actions (like up, del and so on)
+-source /etc/repoman.d/current
+-#source /etc/repoman.d/stable
++#source /etc/repoman.d/current
++source /etc/repoman.d/stable
+
+ # default repo to search the include dir in
+ fst_root=/var/fst/
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to