#copypast from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libcrossguid-git EAPI=5 inherit base eutils git-r3 DESCRIPTION="dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions." HOMEPAGE="https://github.com/foo86/dcadec" SRC_URI="" LICENSE="MIT" SLOT="0" KEYWORDS="" EGIT_REPO_URI="https://github.com/foo86/dcadec.git" src_unpack() { git-r3_src_unpack } src_compile() { cd "${S}" emake } src_install() { #TODO: multilib emake DESTDIR="${D}" install }