diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -9,7 +9,7 @@ pkgbase = tbftss-the-pandoran-war-git depends = sdl2_image depends = sdl2_mixer depends = sdl2_ttf - source = tbftss-git::git+https://github.com/stephenjsweeney/tbftss#branch=develop + source = tbftss-git::git+https://github.com/stephenjsweeney/tbftss.git sha256sums = SKIP pkgname = tbftss-the-pandoran-war-git @@ -8,21 +8,22 @@ url="https://www.battleforthesolarsystem.com/" arch=('x86_64') license=('GPL2') depends=('sdl2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf') -source=("${_pkgname}-git::git+https://github.com/stephenjsweeney/${_pkgname}#branch=develop") +_srcdirectory="${_pkgname}-git" +source=("${_srcdirectory}::git+https://github.com/stephenjsweeney/${_pkgname}.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}-git" + cd "${srcdir}/${_srcdirectory}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "${srcdir}/${_pkgname}-git" + cd "${srcdir}/${_srcdirectory}" make } package() { - cd "${srcdir}/${_pkgname}-git" + cd "${srcdir}/${_srcdirectory}" make DESTDIR="${pkgdir}" install } |