3
0
Fork 0
forked from mirrors/nixpkgs

Rename ruby gpgme gem to ruby-gpgme

This commit is contained in:
Jason "Don" O'Conal 2013-06-13 14:09:14 +10:00
parent a5e65e66b1
commit 150a6a7063

View file

@ -1,7 +1,7 @@
{ stdenv, fetchurl, gpgme, ruby, rubygems, hoe }:
stdenv.mkDerivation rec {
name = "gpgme-1.0.8";
stdenv.mkDerivation {
name = "ruby-gpgme-1.0.8";
src = fetchurl {
url = "https://github.com/ueno/ruby-gpgme/archive/1.0.8.tar.gz";
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
end
EOF
cd "$out/${ruby.gemPath}/gems/${name}"
cd "$out/${ruby.gemPath}/gems/gpgme-1.0.8"
mkdir src
mv lib src
sed -i "s/srcdir = ./srcdir = src/" Makefile