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

18 lines
252 B
Bash
Raw Normal View History

. $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