summaryrefslogtreecommitdiff
path: root/dev-libs/libcrossguid/libcrossguid-scm.ebuild
blob: 5f07e687615b9ab99ad7bd723fa53486051e7921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#copypast from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libcrossguid-git

EAPI=6

inherit eutils git-r3 cmake-utils

DESCRIPTION="Lightweight cross platform C++ GUID/UUID library"
HOMEPAGE="https://github.com/graeme-hill/crossguid"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS=""

EGIT_REPO_URI="https://github.com/graeme-hill/crossguid.git"

src_unpack() {
    git-r3_src_unpack
}

#src_compile() {
#
#}

src_install() {
	mkdir -p "${D}/usr/include"
	cp "${S}/Guid.hpp" "${D}/usr/include"
	mkdir -p "${D}/usr/lib"
	cp "${BUILD_DIR}/libxg.a" "${D}/usr/lib"
}