[arch-commits] Commit in subtle/repos (8 files)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Fri Feb 21 23:10:38 UTC 2014
Date: Saturday, February 22, 2014 @ 00:10:38
Author: anatolik
Revision: 106073
archrelease: copy trunk to community-i686, community-x86_64
Added:
subtle/repos/community-i686/
subtle/repos/community-i686/PKGBUILD
(from rev 106072, subtle/trunk/PKGBUILD)
subtle/repos/community-i686/do_not_relink_binaries_on_install.diff
(from rev 106072, subtle/trunk/do_not_relink_binaries_on_install.diff)
subtle/repos/community-i686/subtle.install
(from rev 106072, subtle/trunk/subtle.install)
subtle/repos/community-x86_64/
subtle/repos/community-x86_64/PKGBUILD
(from rev 106072, subtle/trunk/PKGBUILD)
subtle/repos/community-x86_64/do_not_relink_binaries_on_install.diff
(from rev 106072, subtle/trunk/do_not_relink_binaries_on_install.diff)
subtle/repos/community-x86_64/subtle.install
(from rev 106072, subtle/trunk/subtle.install)
---------------------------------------------------------+
community-i686/PKGBUILD | 51 ++++++++++++++
community-i686/do_not_relink_binaries_on_install.diff | 12 +++
community-i686/subtle.install | 5 +
community-x86_64/PKGBUILD | 51 ++++++++++++++
community-x86_64/do_not_relink_binaries_on_install.diff | 12 +++
community-x86_64/subtle.install | 5 +
6 files changed, 136 insertions(+)
Copied: subtle/repos/community-i686/PKGBUILD (from rev 106072, subtle/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: unexist <unexist at dorfelite.net>
+# Contributor: Abakus <java5 at arcor.de>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Xilon <xilonmu at gmail.com>
+
+pkgname=subtle
+# check the mercurial hash at http://hg.subforge.org/subtle
+_hg_revision=3243
+_hg_hash=43d1d0478c46
+pkgver=0.11.r$_hg_revision
+pkgrel=1
+pkgdesc='Grid-based manual tiling window manager'
+arch=(x86_64 i686)
+url='http://subtle.subforge.org/'
+license=(GPL)
+depends=(ruby libxrandr libxft libxpm libxinerama libxtst)
+backup=(etc/xdg/subtle/subtle.rb)
+install=subtle.install
+source=(http://hg.subforge.org/subtle/archive/$_hg_hash.tar.bz2
+ do_not_relink_binaries_on_install.diff)
+sha256sums=('d3e29561a78a0491e6357ce60c940a1b050e99d116bffb7881d97b6a6b893137'
+ '448dd3bcc8fd3807ab0f66c1d82edccbeb830502dfe758770e7f7a76ffce35a0')
+
+prepare() {
+ cd subtle-$_hg_hash
+
+ # Use vendor_ruby instead of site_ruby
+ sed -e \
+ 's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \
+ -i Rakefile
+
+ patch -p1 < "$srcdir"/do_not_relink_binaries_on_install.diff
+}
+
+build() {
+ cd subtle-$_hg_hash
+
+ rake build revision=$_hg_revision
+}
+
+package() {
+ cd subtle-$_hg_hash
+
+ # regenerate config with proper $pkgdir, revision and cppflags are not needed at this step
+ rake config destdir="$pkgdir"
+ rake install
+}
Copied: subtle/repos/community-i686/do_not_relink_binaries_on_install.diff (from rev 106072, subtle/trunk/do_not_relink_binaries_on_install.diff)
===================================================================
--- community-i686/do_not_relink_binaries_on_install.diff (rev 0)
+++ community-i686/do_not_relink_binaries_on_install.diff 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,12 @@
+diff -r 71c757f2a3c4 Rakefile
+--- a/Rakefile Wed Jun 19 15:12:38 2013 +0200
++++ b/Rakefile Thu Jan 23 20:46:18 2014 -0800
+@@ -535,7 +535,7 @@
+ ##
+
+ desc("Install subtle")
+-task(:install => [:config, :build]) do
++task(:install => [:config]) do
+ verbose = (true == RakeFileUtils.verbose)
+
+ # Make install dirs
Copied: subtle/repos/community-i686/subtle.install (from rev 106072, subtle/trunk/subtle.install)
===================================================================
--- community-i686/subtle.install (rev 0)
+++ community-i686/subtle.install 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,5 @@
+post_upgrade() {
+ echo "In order to use sur you can install ruby-curb and ruby-minitar."
+ echo "If you have subtle on your system remember to upgrade with:"
+ echo " sur upgrade"
+}
Copied: subtle/repos/community-x86_64/PKGBUILD (from rev 106072, subtle/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: unexist <unexist at dorfelite.net>
+# Contributor: Abakus <java5 at arcor.de>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Xilon <xilonmu at gmail.com>
+
+pkgname=subtle
+# check the mercurial hash at http://hg.subforge.org/subtle
+_hg_revision=3243
+_hg_hash=43d1d0478c46
+pkgver=0.11.r$_hg_revision
+pkgrel=1
+pkgdesc='Grid-based manual tiling window manager'
+arch=(x86_64 i686)
+url='http://subtle.subforge.org/'
+license=(GPL)
+depends=(ruby libxrandr libxft libxpm libxinerama libxtst)
+backup=(etc/xdg/subtle/subtle.rb)
+install=subtle.install
+source=(http://hg.subforge.org/subtle/archive/$_hg_hash.tar.bz2
+ do_not_relink_binaries_on_install.diff)
+sha256sums=('d3e29561a78a0491e6357ce60c940a1b050e99d116bffb7881d97b6a6b893137'
+ '448dd3bcc8fd3807ab0f66c1d82edccbeb830502dfe758770e7f7a76ffce35a0')
+
+prepare() {
+ cd subtle-$_hg_hash
+
+ # Use vendor_ruby instead of site_ruby
+ sed -e \
+ 's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \
+ -i Rakefile
+
+ patch -p1 < "$srcdir"/do_not_relink_binaries_on_install.diff
+}
+
+build() {
+ cd subtle-$_hg_hash
+
+ rake build revision=$_hg_revision
+}
+
+package() {
+ cd subtle-$_hg_hash
+
+ # regenerate config with proper $pkgdir, revision and cppflags are not needed at this step
+ rake config destdir="$pkgdir"
+ rake install
+}
Copied: subtle/repos/community-x86_64/do_not_relink_binaries_on_install.diff (from rev 106072, subtle/trunk/do_not_relink_binaries_on_install.diff)
===================================================================
--- community-x86_64/do_not_relink_binaries_on_install.diff (rev 0)
+++ community-x86_64/do_not_relink_binaries_on_install.diff 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,12 @@
+diff -r 71c757f2a3c4 Rakefile
+--- a/Rakefile Wed Jun 19 15:12:38 2013 +0200
++++ b/Rakefile Thu Jan 23 20:46:18 2014 -0800
+@@ -535,7 +535,7 @@
+ ##
+
+ desc("Install subtle")
+-task(:install => [:config, :build]) do
++task(:install => [:config]) do
+ verbose = (true == RakeFileUtils.verbose)
+
+ # Make install dirs
Copied: subtle/repos/community-x86_64/subtle.install (from rev 106072, subtle/trunk/subtle.install)
===================================================================
--- community-x86_64/subtle.install (rev 0)
+++ community-x86_64/subtle.install 2014-02-21 23:10:38 UTC (rev 106073)
@@ -0,0 +1,5 @@
+post_upgrade() {
+ echo "In order to use sur you can install ruby-curb and ruby-minitar."
+ echo "If you have subtle on your system remember to upgrade with:"
+ echo " sur upgrade"
+}
More information about the arch-commits
mailing list