diff options
author | Yardena Cohen | 2020-09-15 23:02:00 -0700 |
---|---|---|
committer | Yardena Cohen | 2020-09-15 23:02:00 -0700 |
commit | 2f16b6268c2dab2b536814219ee8feb1642bfc2e (patch) | |
tree | fdc7aace77c253a7104b31885c6949c1b4be79c4 | |
parent | 277fe4a7f640de078440309f1494ec4856128b47 (diff) | |
download | aur-2f16b6268c2dab2b536814219ee8feb1642bfc2e.tar.gz |
move to coin-git
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 27 insertions, 26 deletions
@@ -1,27 +1,29 @@ # Generated by mksrcinfo v8 -# Fri Apr 10 07:49:57 UTC 2020 -pkgbase = coin-hg +# Wed Sep 16 05:46:15 UTC 2020 +pkgbase = coin-git pkgdesc = A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1 pkgver = r12110.04c2890cc357 pkgrel = 1 - url = https://bitbucket.org/Coin3D/coin + url = https://github.com/coin3d/coin arch = x86_64 license = BSD - makedepends = mercurial + makedepends = git makedepends = cmake makedepends = doxygen makedepends = boost depends = glu provides = coin + provides = coin-hg conflicts = coin - source = coin::hg+https://bitbucket.org/Coin3D/coin#branch=default - source = generalmsvcgeneration::hg+https://bitbucket.org/Coin3D/generalmsvcgeneration#branch=default - source = cpack.d::hg+https://bitbucket.org/Coin3D/cpack.d#branch=default - source = boost-header-libs-full::hg+https://bitbucket.org/Coin3D/boost-header-libs-full#branch=default + conflicts = coin-hg + source = git+https://github.com/coin3d/coin.git + source = git+https://github.com/coin3d/generalmsvcgeneration.git + source = git+https://github.com/coin3d/cpack.d.git + source = git+https://github.com/coin3d/boost-header-libs-full.git md5sums = SKIP md5sums = SKIP md5sums = SKIP md5sums = SKIP -pkgname = coin-hg +pkgname = coin-git diff --git a/.gitignore b/.gitignore index 43a12b1b90c8..cc684885a5a4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ /coin/ /cpack.d/ /generalmsvcgeneration/ -/coin-hg-*.log +/coin-git-*.log @@ -1,28 +1,27 @@ # Maintainer: Michal Ulianko <michal (dot) ulianko (at) gmail (dot) com> -pkgname=coin-hg -pkgver=r12110.04c2890cc357 +gitname=coin +pkgname=${gitname}-git +pkgver=12143.fd528f58e pkgrel=1 pkgdesc="A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1" arch=('x86_64') -url="https://bitbucket.org/Coin3D/coin" +url="https://github.com/coin3d/$gitname" license=('BSD') depends=('glu') -makedepends=('mercurial' 'cmake' 'doxygen' 'boost') -provides=("${pkgname%-hg}") -conflicts=("${pkgname%-hg}") -source=('coin::hg+https://bitbucket.org/Coin3D/coin#branch=default' - 'generalmsvcgeneration::hg+https://bitbucket.org/Coin3D/generalmsvcgeneration#branch=default' - 'cpack.d::hg+https://bitbucket.org/Coin3D/cpack.d#branch=default' - 'boost-header-libs-full::hg+https://bitbucket.org/Coin3D/boost-header-libs-full#branch=default') -md5sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP') +makedepends=('git' 'cmake' 'doxygen' 'boost') +provides=(${gitname}{,-hg}) +conflicts=(${gitname}{,-hg}) +source=("git+${url}.git" + 'git+https://github.com/coin3d/generalmsvcgeneration.git' + 'git+https://github.com/coin3d/cpack.d.git' + 'git+https://github.com/coin3d/boost-header-libs-full.git') +md5sums=(SKIP SKIP SKIP SKIP) pkgver() { - cd "$srcdir/coin" - printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" + cd "${srcdir}/${gitname}" + local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + printf "%s" "${ver//-/.}" } build() { |