pidgin-mra: Do not abuse DESTDIR
This commit is contained in:
+7
-4
@@ -15,13 +15,16 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ pidgin ];
|
buildInputs = [ pidgin ];
|
||||||
|
|
||||||
preConfigure = ''
|
postPatch = ''
|
||||||
sed -i 's|-I/usr/include/libpurple|$(shell pkg-config --cflags purple)|' Makefile
|
sed -i 's|-I/usr/include/libpurple|$(shell pkg-config --cflags purple)|' Makefile
|
||||||
export DESTDIR=$out
|
|
||||||
export LIBDIR=/lib
|
|
||||||
export DATADIR=/share
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"DESTDIR=/"
|
||||||
|
"LIBDIR=${placeholder "out"}/lib"
|
||||||
|
"DATADIR=${placeholder "out"}/share"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/dreadatour/pidgin-mra;
|
homepage = https://github.com/dreadatour/pidgin-mra;
|
||||||
description = "Mail.ru Agent plugin for Pidgin / libpurple";
|
description = "Mail.ru Agent plugin for Pidgin / libpurple";
|
||||||
|
|||||||
Reference in New Issue
Block a user