crossguid: update to 0.2.2.

This commit is contained in:
Enno Boland 2017-08-31 09:51:04 +02:00
parent fb439cddef
commit 0cf6e91858
1 changed files with 6 additions and 13 deletions

View File

@ -1,25 +1,18 @@
# Template file for 'crossguid'
pkgname=crossguid
version=0.0.20160317
version=0.2.2
revision=1
_githash="8f399e8bd4252be9952f3dfa8199924cc8487ca4"
_gitshort="${_githash:0:7}"
short_desc="Lightweight cross platform C++ GUID/UUID library (git $_gitshort)"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/graeme-hill/crossguid"
distfiles="$homepage/archive/$_githash.tar.gz"
distfiles="$homepage/archive/v$version.tar.gz"
makedepends="libuuid-devel"
checksum=022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99
wrksrc=$pkgname-$_githash
do_build() {
$CXX -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
ar rvs libcrossguid.a guid.o
}
checksum=48321928473c682b0cdc7e17bbd3390f79f4b98ab22fef3b81a852dda81fd195
build_style=cmake
do_install() {
vlicense LICENSE
vinstall libcrossguid.a 644 usr/lib
vinstall guid.h 644 usr/include
vinstall build/libxg.a 644 usr/lib
vinstall Guid.hpp 644 usr/include
}