diff options
author | Thomas Weißschuh | 2013-06-07 20:39:34 +0000 |
---|---|---|
committer | Thomas Weißschuh | 2013-06-07 20:39:34 +0000 |
commit | 8f50310129b56fce4409cd4f6407663e9bf864f1 (patch) | |
tree | 551e928dae28f2b2bea39935cc35e74fc48e9c95 | |
parent | df02aebd51f047e49ae84fc2cd91d5a61f2c55ee (diff) | |
download | aur-8f50310129b56fce4409cd4f6407663e9bf864f1.tar.gz |
update cmake-modules-webos-git
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 14 insertions, 26 deletions
@@ -1,6 +1,6 @@ pkgbase = cmake-modules-webos-git pkgdesc = CMake modules needed to build Open webOS components - pkgver = 20121229 + pkgver = 20130427 pkgrel = 1 url = https://github.com/openwebos/cmake-modules-webos arch = i686 @@ -9,6 +9,8 @@ pkgbase = cmake-modules-webos-git makedepends = git depends = cmake provides = cmake-modules-webos + source = git+https://github.com/openwebos/cmake-modules-webos + sha256sums = SKIP pkgname = cmake-modules-webos-git @@ -1,46 +1,32 @@ # Maintainer: Thomas Weißschuh <thomas t-8ch de> pkgname=cmake-modules-webos-git -pkgver=20121229 pkgrel=1 +pkgver=20130427 pkgdesc='CMake modules needed to build Open webOS components' arch=(i686 x86_64) url='https://github.com/openwebos/cmake-modules-webos' license=('Apache') provides=('cmake-modules-webos') -pkgver=20121229 depends=('cmake') makedepends=('git') +sha256sums=('SKIP') -_gitroot=https://github.com/openwebos/cmake-modules-webos -_gitname=master +source=(git+https://github.com/openwebos/cmake-modules-webos) build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - mkdir "$srcdir/$_gitname-build" - # git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - cmake "$srcdir/$_gitname" + rm -rf "$srcdir/build/" + mkdir "$srcdir/build/" + cd "$srcdir/build/" + cmake ../cmake-modules-webos make } package() { - cd "$srcdir/$_gitname-build" + cd "$srcdir/build/" make DESTDIR="$pkgdir/" install } -# vim:set ts=2 sw=2 et: +pkgver() { + date '+%Y%m%d' +} |