diff options
author | Daniel Bermond | 2018-11-10 13:26:47 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-11-10 13:26:47 +0000 |
commit | b7977000960b462834bd63396ad38cf884323451 (patch) | |
tree | 24f4d836062ed54cc28337208bf943a170d88ae5 | |
parent | 398c4114c65183557a59a40318ddf97566034507 (diff) | |
download | aur-b7977000960b462834bd63396ad38cf884323451.tar.gz |
Do not rename the source clones
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = crossc-git pkgdesc = Portable C wrapper for SPIRV-Cross (git version) pkgver = 1.6.0.r0.g98689d7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/rossy/crossc/ arch = i686 arch = x86_64 @@ -10,8 +10,8 @@ pkgbase = crossc-git depends = gcc-libs provides = crossc conflicts = crossc - source = crossc-git::git+https://github.com/rossy/crossc.git - source = SPIRV-Cross::git+https://github.com/KhronosGroup/SPIRV-Cross.git + source = git+https://github.com/rossy/crossc.git + source = git+https://github.com/KhronosGroup/SPIRV-Cross.git sha256sums = SKIP sha256sums = SKIP @@ -1,8 +1,9 @@ # Maintainer: Daniel Bermond < gmail-com: danielbermond > pkgname=crossc-git +_srcname=crossc pkgver=1.6.0.r0.g98689d7 -pkgrel=1 +pkgrel=2 pkgdesc='Portable C wrapper for SPIRV-Cross (git version)' arch=('i686' 'x86_64') url='https://github.com/rossy/crossc/' @@ -11,13 +12,13 @@ depends=('gcc-libs') makedepends=('git') provides=('crossc') conflicts=('crossc') -source=("$pkgname"::'git+https://github.com/rossy/crossc.git' - 'SPIRV-Cross'::'git+https://github.com/KhronosGroup/SPIRV-Cross.git') +source=('git+https://github.com/rossy/crossc.git' + 'git+https://github.com/KhronosGroup/SPIRV-Cross.git') sha256sums=('SKIP' 'SKIP') prepare() { - cd "$pkgname" + cd "$_srcname" git submodule init git config --local 'submodule.SPIRV-Cross.url' "${srcdir}/SPIRV-Cross" @@ -25,20 +26,20 @@ prepare() { } pkgver() { - cd "$pkgname" + cd "$_srcname" # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build() { - cd "$pkgname" + cd "$_srcname" make } package() { - cd "$pkgname" + cd "$_srcname" make DESTDIR="$pkgdir" prefix='/usr' install } |