diff options
author | Sven Klomp | 2018-03-02 23:08:20 +0100 |
---|---|---|
committer | Sven Klomp | 2018-03-02 23:08:20 +0100 |
commit | 8997776189d89c492ca0e9c1a733c28051c2bcca (patch) | |
tree | 54e306e14fc2f9da72aec48e5cd97612405e521a | |
parent | 34e9231838978ecf5a9812355e4a67e38f9fb148 (diff) | |
download | aur-8997776189d89c492ca0e9c1a733c28051c2bcca.tar.gz |
Change from git build to release build
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 13 insertions, 26 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sat Mar 5 17:12:32 UTC 2016 -pkgbase = libnoise2d-git +# Fri Mar 2 22:08:03 UTC 2018 +pkgbase = libnoise2d pkgdesc = Noise library for 2D data - pkgver = 0.14.98c9d72 + pkgver = 1.1.0 pkgrel = 1 url = https://github.com/planeworld/libnoise2d arch = i686 @@ -12,8 +12,9 @@ pkgbase = libnoise2d-git makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/planeworld/libnoise2d.git - md5sums = SKIP + provides = libnoise2d + source = https://github.com/planeworld/libnoise2d/archive/v1.1.0.tar.gz + sha256sums = 2401aae8a6fc79693bfe401781e2fb68050250a7ff37b7da8a8bc4d207763485 -pkgname = libnoise2d-git +pkgname = libnoise2d @@ -3,39 +3,26 @@ pkgdesc='Noise library for 2D data' _gitname=('libnoise2d') -pkgname=('libnoise2d-git') +pkgname=('libnoise2d') provides=('libnoise2d') -pkgver=0.14.98c9d72 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 arch=('i686' 'x86_64') license=('GPL') url="https://github.com/planeworld/libnoise2d" depends=('gcc-libs') makedepends=('gcc-libs' 'git' 'cmake') -source=("git+https://github.com/planeworld/libnoise2d.git") -md5sums=('SKIP') - -pkgver() { - cd "$srcdir"/${_gitname} - echo "0.$(git rev-list --count HEAD).$(git describe --always)" -} - - -prepare() { - cd "${srcdir}/${_gitname}" -} +source=("https://github.com/planeworld/libnoise2d/archive/v${pkgver}.tar.gz") +sha256sums=('2401aae8a6fc79693bfe401781e2fb68050250a7ff37b7da8a8bc4d207763485') build() { - cd "${srcdir}/${_gitname}" - if [ ! -d "${srcdir}/build" ]; then mkdir -p "${srcdir}/build" fi cd "${srcdir}/build" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr "../${_gitname}" - + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr "../${pkgname}-${pkgver}" make } @@ -43,5 +30,4 @@ build() { package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}/" install - } |