nixpkgs/pkgs/applications/video/mythtv/builder.sh

18 lines
257 B
Bash
Raw Normal View History

source $stdenv/setup
buildPhase=myBuilder
myBuilder() {
qmake mythtv.pro || fail
make || fail
}
postInstall=postInstall
postInstall() {
sqlDir="$out/share/mythtv/sql"
ensureDir $sqlDir
cp -p ./database/mc.sql $sqlDir/
}
genericBuild