diff options
author | J5lx | 2015-07-01 15:04:51 +0200 |
---|---|---|
committer | J5lx | 2015-07-01 15:04:51 +0200 |
commit | e8f3fd5e2fd0927d951fb3ef431dc12fd9609102 (patch) | |
tree | bc646d774459793e486b473957fa6d20943f8b48 | |
parent | 867e4be202acd61a85e2eee9d181dfc37e299943 (diff) | |
download | aur-e8f3fd5e2fd0927d951fb3ef431dc12fd9609102.tar.gz |
32cc39f-1: We now have to update a submodule containing the data
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 23 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = glportal-git pkgdesc = OpenGL puzzle game inspired by portal. - pkgver = v0.0.5.605.gd5e4d47 + pkgver = 32cc39f pkgrel = 1 url = http://glportal.de/ arch = i686 @@ -14,9 +14,11 @@ pkgbase = glportal-git depends = sdl2 depends = sdl2_mixer depends = tinyxml - provides = glportal=v0.0.5.605.gd5e4d47 + provides = glportal=32cc39f conflicts = glportal - source = git+https://github.com/glportal/glportal.git + source = git://github.com/glportal/glportal.git + source = git://github.com/glportal/glportal_data.git + md5sums = SKIP md5sums = SKIP pkgname = glportal-git @@ -2,7 +2,7 @@ _pkgname=glportal pkgname=${_pkgname}-git -pkgver=v0.0.5.605.gd5e4d47 +pkgver=32cc39f pkgrel=1 pkgdesc="OpenGL puzzle game inspired by portal." arch=('i686' 'x86_64') @@ -12,20 +12,31 @@ depends=('glew' 'assimp' 'sdl2' 'sdl2_mixer' 'tinyxml') makedepends=('git' 'cmake' 'unittestpp') provides=("${_pkgname}=${pkgver}") conflicts=("${_pkgname}") -source=("git+https://github.com/${_pkgname}/${_pkgname}.git") -md5sums=('SKIP') +source=("git://github.com/${_pkgname}/${_pkgname}.git" + "git://github.com/${_pkgname}/${_pkgname}_data.git") +md5sums=('SKIP' + 'SKIP') pkgver() { - cd $srcdir/$_pkgname + cd "${srcdir}/${_pkgname}" echo $(git describe --always | sed 's/-/./g') } +prepare() { + cd "${srcdir}/${_pkgname}" + + git submodule init + git config submodule.data.url "${srcdir}/${_pkgname}_data" + git submodule update +} + build() { - cd $srcdir/$_pkgname + cd "${srcdir}/${_pkgname}" - mkdir build && cd build + [[ -d build ]] || mkdir build + cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. - make + make all tests } check() { |