Compound of 豚 (buta, “pig”) + 小屋 (koya, “pen”). The koya changes to goya as an instance of rendaku (連濁).
豚(ぶた)小(ご)屋(や) • (butagoya)