shrub/nix/nixcrpkgs/pkgs/at-spi2-headers/builder.sh

13 lines
227 B
Bash
Raw Normal View History

source $setup
mkdir -p $out/include/atspi $out/lib/pkgconfig
cp $src/atspi/*.h $out/include/atspi/
cat > $out/lib/pkgconfig/atspi-2.pc <<EOF
prefix=$out
includedir=\${prefix}/include
Name: atspi
Cflags: -I\${includedir}
EOF