[arch-commits] Commit in libcrossguid/repos (4 files)
Ike Devolder
idevolder at archlinux.org
Thu Sep 7 18:36:34 UTC 2017
Date: Thursday, September 7, 2017 @ 18:36:14
Author: idevolder
Revision: 256109
archrelease: copy trunk to community-i686, community-x86_64
Added:
libcrossguid/repos/community-i686/PKGBUILD
(from rev 256108, libcrossguid/trunk/PKGBUILD)
libcrossguid/repos/community-x86_64/PKGBUILD
(from rev 256108, libcrossguid/trunk/PKGBUILD)
Deleted:
libcrossguid/repos/community-i686/PKGBUILD
libcrossguid/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 70 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 41 -------------------------
community-x86_64/PKGBUILD | 41 -------------------------
3 files changed, 70 insertions(+), 82 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-09-07 18:35:23 UTC (rev 256108)
+++ community-i686/PKGBUILD 2017-09-07 18:36:14 UTC (rev 256109)
@@ -1,41 +0,0 @@
-# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
-
-pkgname=libcrossguid
-_gitname=libcrossguid
-_commit=fef89a4
-pkgver=20160907.fef89a4
-pkgrel=2
-pkgdesc="Lightweight cross platform C++ GUID/UUID library"
-arch=('i686' 'x86_64')
-url="https://github.com/graeme-hill/crossguid"
-license=('MIT')
-makedepends=('git')
-provides=('libcrossguid')
-conflicts=('libcrossguid')
-source=("$_gitname::git+https://github.com/graeme-hill/crossguid.git#commit=$_commit")
-md5sums=('SKIP')
-
-build() {
- cd libcrossguid
-
- g++ -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
- ar rvs libcrossguid.a guid.o
-
- g++ -c test.cpp -o test.o $CXXFLAGS -std=c++11
- g++ -c testmain.cpp -o testmain.o $CXXFLAGS
- g++ test.o guid.o testmain.o -o test $CXXFLAGS -luuid
- chmod +x test
-}
-
-check(){
- cd libcrossguid
- ./test
-}
-
-package() {
- cd libcrossguid
- install -D -m644 libcrossguid.a "${pkgdir}/usr/lib/libcrossguid.a"
- install -D -m644 guid.h "${pkgdir}/usr/include/guid.h"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
Copied: libcrossguid/repos/community-i686/PKGBUILD (from rev 256108, libcrossguid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-07 18:36:14 UTC (rev 256109)
@@ -0,0 +1,35 @@
+# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
+# Contributer: graysky <graysky AT archlinux DOT us>
+# Contributer: Cedric Girard <girard.cedric at gmail.com>
+
+pkgname=libcrossguid
+epoch=1
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Lightweight cross platform C++ GUID/UUID library"
+arch=('i686' 'x86_64')
+url="https://github.com/graeme-hill/crossguid"
+license=('MIT')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graeme-hill/crossguid/archive/v$pkgver.tar.gz")
+sha512sums=('49a707f830b32ba136bd52e72dda191a7d29acee9795df54f225bb269853cc123390c01875dd1da7cbaebd5bb7001988d6f9758dcffa9171b5f2961f576682ca')
+
+build() {
+ cd "crossguid-$pkgver"
+
+ cmake .
+ make
+}
+
+check(){
+ cd "crossguid-$pkgver"
+ ./xgtest
+}
+
+package() {
+ cd "crossguid-$pkgver"
+ install -D -m644 libxg.a "${pkgdir}/usr/lib/libxg.a"
+ install -D -m644 Guid.hpp "${pkgdir}/usr/include/Guid.hpp"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-09-07 18:35:23 UTC (rev 256108)
+++ community-x86_64/PKGBUILD 2017-09-07 18:36:14 UTC (rev 256109)
@@ -1,41 +0,0 @@
-# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
-
-pkgname=libcrossguid
-_gitname=libcrossguid
-_commit=fef89a4
-pkgver=20160907.fef89a4
-pkgrel=2
-pkgdesc="Lightweight cross platform C++ GUID/UUID library"
-arch=('i686' 'x86_64')
-url="https://github.com/graeme-hill/crossguid"
-license=('MIT')
-makedepends=('git')
-provides=('libcrossguid')
-conflicts=('libcrossguid')
-source=("$_gitname::git+https://github.com/graeme-hill/crossguid.git#commit=$_commit")
-md5sums=('SKIP')
-
-build() {
- cd libcrossguid
-
- g++ -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
- ar rvs libcrossguid.a guid.o
-
- g++ -c test.cpp -o test.o $CXXFLAGS -std=c++11
- g++ -c testmain.cpp -o testmain.o $CXXFLAGS
- g++ test.o guid.o testmain.o -o test $CXXFLAGS -luuid
- chmod +x test
-}
-
-check(){
- cd libcrossguid
- ./test
-}
-
-package() {
- cd libcrossguid
- install -D -m644 libcrossguid.a "${pkgdir}/usr/lib/libcrossguid.a"
- install -D -m644 guid.h "${pkgdir}/usr/include/guid.h"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
Copied: libcrossguid/repos/community-x86_64/PKGBUILD (from rev 256108, libcrossguid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-09-07 18:36:14 UTC (rev 256109)
@@ -0,0 +1,35 @@
+# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
+# Contributer: graysky <graysky AT archlinux DOT us>
+# Contributer: Cedric Girard <girard.cedric at gmail.com>
+
+pkgname=libcrossguid
+epoch=1
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Lightweight cross platform C++ GUID/UUID library"
+arch=('i686' 'x86_64')
+url="https://github.com/graeme-hill/crossguid"
+license=('MIT')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graeme-hill/crossguid/archive/v$pkgver.tar.gz")
+sha512sums=('49a707f830b32ba136bd52e72dda191a7d29acee9795df54f225bb269853cc123390c01875dd1da7cbaebd5bb7001988d6f9758dcffa9171b5f2961f576682ca')
+
+build() {
+ cd "crossguid-$pkgver"
+
+ cmake .
+ make
+}
+
+check(){
+ cd "crossguid-$pkgver"
+ ./xgtest
+}
+
+package() {
+ cd "crossguid-$pkgver"
+ install -D -m644 libxg.a "${pkgdir}/usr/lib/libxg.a"
+ install -D -m644 Guid.hpp "${pkgdir}/usr/include/Guid.hpp"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
More information about the arch-commits
mailing list