diff options
author | physkets | 2018-12-10 14:48:45 +0530 |
---|---|---|
committer | physkets | 2018-12-10 14:48:45 +0530 |
commit | d0128d65b94361e8a4bcb33a5b09598f1986e103 (patch) | |
tree | 1eca1fbf64fc6358df51fe7ea2e64be897f25aa1 | |
parent | 657f0010e97677d8c246c157b4deb8d67af84ae6 (diff) | |
download | aur-tbftss-the-pandoran-war-git.tar.gz |
fix source, and simplify src
-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 } |