pidgin-mra: Do not abuse DESTDIR
This commit is contained in:
parent
6a6c28c40d
commit
578003af40
@ -15,13 +15,16 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ pidgin ];
|
||||
|
||||
preConfigure = ''
|
||||
postPatch = ''
|
||||
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 = {
|
||||
homepage = https://github.com/dreadatour/pidgin-mra;
|
||||
description = "Mail.ru Agent plugin for Pidgin / libpurple";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user