#!/bin/bash

# Create ddb-headers-latest.tar.bz2 in the current folder

mkdir -p /tmp/deadbeef-headers/deadbeef
cp deadbeef.h plugins/gtkui/gtkui_api.h /tmp/deadbeef-headers/deadbeef/
cd /tmp/deadbeef-headers
tar jcvf ddb-headers-latest.tar.bz2 deadbeef
cd -
pwd
mv /tmp/deadbeef-headers/ddb-headers-latest.tar.bz2 ./
rm -rf /tmp/deadbeef-headers
