[arch-commits] Commit in subtle/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Wed Mar 6 14:27:53 UTC 2013
Date: Wednesday, March 6, 2013 @ 15:27:52
Author: arodseth
Revision: 85760
upgpkg: subtle 0.11.3224-2, ruby 2.0 rebuild
Modified:
subtle/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-06 14:22:48 UTC (rev 85759)
+++ PKGBUILD 2013-03-06 14:27:52 UTC (rev 85760)
@@ -8,15 +8,15 @@
pkgname=subtle
pkgver=0.11.3224
-pkgrel=1
-pkgdesc="Grid-based manual tiling window manager"
-arch=("i686" "x86_64")
-url="http://subtle.subforge.org"
-license=("GPL")
-depends=("ruby" "libxft" "libxpm" "libxrandr" "libxft" "libxpm" "libxinerama"
- "libxtst")
-makedepends=("pkg-config" "libxinerama" "libxrandr" "libxft" "libxpm")
-backup=("etc/xdg/subtle/subtle.rb")
+pkgrel=2
+pkgdesc='Grid-based manual tiling window manager'
+arch=('x86_64' 'i686')
+url='http://subtle.subforge.org/'
+license=('GPL')
+depends=('ruby' 'libxft' 'libxpm' 'libxrandr' 'libxft' 'libxpm' 'libxinerama'
+ 'libxtst')
+makedepends=('pkg-config' 'libxinerama' 'libxrandr' 'libxft' 'libxpm')
+backup=('etc/xdg/subtle/subtle.rb')
install=subtle.install
source=("http://subforge.org/attachments/download/81/$pkgname-$pkgver-xi.tbz2")
sha256sums=('a22ee94a70c1105a018e1c0a754597b4e3a87d1b915301a0b22888920fa0f8a2')
@@ -24,7 +24,10 @@
build() {
cd "$srcdir/$pkgname-$pkgver-xi"
- # use vendor_ruby instead of site_ruby
+ # Disable the check for Ruby 1.9
+ sed -i 's/ 1 != / 7 == /' Rakefile
+ sed -i 's/ 9 != / 7 == /' Rakefile
+ # Use vendor_ruby instead of site_ruby
sed -e \
's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \
-i Rakefile
@@ -33,7 +36,7 @@
package() {
cd "$srcdir/$pkgname-$pkgver-xi"
- rake destdir=$pkgdir install
+ rake destdir=$pkgdir install --trace
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list