[arch-commits] Commit in tcplay/repos (6 files)
Timothy Redaelli
tredaelli at nymeria.archlinux.org
Tue Dec 17 10:26:47 UTC 2013
Date: Tuesday, December 17, 2013 @ 11:26:46
Author: tredaelli
Revision: 102659
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
tcplay/repos/community-staging-i686/
tcplay/repos/community-staging-i686/PKGBUILD
(from rev 102658, tcplay/trunk/PKGBUILD)
tcplay/repos/community-staging-i686/tc-play-1.1-fix-paths.patch
(from rev 102658, tcplay/trunk/tc-play-1.1-fix-paths.patch)
tcplay/repos/community-staging-x86_64/
tcplay/repos/community-staging-x86_64/PKGBUILD
(from rev 102658, tcplay/trunk/PKGBUILD)
tcplay/repos/community-staging-x86_64/tc-play-1.1-fix-paths.patch
(from rev 102658, tcplay/trunk/tc-play-1.1-fix-paths.patch)
------------------------------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++++
community-staging-i686/tc-play-1.1-fix-paths.patch | 49 +++++++++++++++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++++
community-staging-x86_64/tc-play-1.1-fix-paths.patch | 49 +++++++++++++++++
4 files changed, 170 insertions(+)
Copied: tcplay/repos/community-staging-i686/PKGBUILD (from rev 102658, tcplay/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-12-17 10:26:46 UTC (rev 102659)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+# Contributor: James Reed <supplantr at archlinux dot info>
+
+pkgname=tcplay
+pkgver=1.1
+pkgrel=2
+pkgdesc="Free and simple TrueCrypt implementation based on dm-crypt."
+arch=('i686' 'x86_64')
+url="https://github.com/bwalex/tc-play"
+license=('custom')
+depends=('device-mapper')
+makedepends=('cmake')
+source=("https://github.com/bwalex/tc-play/archive/v${pkgver}.tar.gz"
+ tc-play-1.1-fix-paths.patch)
+sha256sums=('62346e852c6f781fffebf5c43e5967ceb0e36304626aa27e77c77378f8215d84'
+ '007b960675400b7e0a10765952041dcc1943e5cb79367e2ed4938f2c5e64ea57')
+
+prepare() {
+ cd "tc-play-$pkgver"
+ patch -Np1 -i ../tc-play-1.1-fix-paths.patch
+}
+
+build() {
+ cd "tc-play-$pkgver"
+ mkdir -p objdir
+ cd objdir
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package() {
+ cd "tc-play-$pkgver/objdir"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/tcplay/LICENSE
+}
Copied: tcplay/repos/community-staging-i686/tc-play-1.1-fix-paths.patch (from rev 102658, tcplay/trunk/tc-play-1.1-fix-paths.patch)
===================================================================
--- community-staging-i686/tc-play-1.1-fix-paths.patch (rev 0)
+++ community-staging-i686/tc-play-1.1-fix-paths.patch 2013-12-17 10:26:46 UTC (rev 102659)
@@ -0,0 +1,49 @@
+--- tc-play-1.1/CMakeLists.txt.orig 2013-12-12 22:55:24.788832261 +0100
++++ tc-play-1.1/CMakeLists.txt 2013-12-12 22:56:16.099181617 +0100
+@@ -63,20 +63,6 @@
+ endif()
+
+
+-if (NOT LIB_SUFFIX)
+- message(STATUS "")
+- message(STATUS "LIB_SUFFIX variable is not defined. It will be autodetected now.")
+- message(STATUS "You can set it manually with -DLIB_SUFFIX=<value> (e.g. 64).")
+- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
+- message(STATUS "\nSetting LIB_SUFFIX=64\n")
+- set (LIB_SUFFIX "64")
+- else()
+- message(STATUS "\nSetting LIB_SUFFIX=\n")
+- set (LIB_SUFFIX "")
+- endif()
+-endif()
+-
+-
+
+ add_executable(tcplay-bin main.c ${SRCS_COMMON} ${SRCS_LINUX} ${SRCS_PBKDF})
+ set_target_properties(tcplay-bin PROPERTIES OUTPUT_NAME tcplay)
+@@ -102,7 +88,7 @@
+ # Generate pkg-config file tcplay.pc
+ file(WRITE ${PROJECT_BINARY_DIR}/tcplay.pc "prefix=${CMAKE_INSTALL_PREFIX}
+ exec_prefix=${CMAKE_INSTALL_PREFIX}
+-libdir=${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
++libdir=${CMAKE_INSTALL_PREFIX}/lib
+ includedir=${CMAKE_INSTALL_PREFIX}/include
+
+ Name: libtcplay
+@@ -117,12 +103,12 @@
+
+ # Installation targets
+ install(TARGETS tcplay-bin tcplay-static tcplay-so
+- RUNTIME DESTINATION sbin COMPONENT bin
+- LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT lib
+- ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT lib-dev
++ RUNTIME DESTINATION bin COMPONENT bin
++ LIBRARY DESTINATION lib COMPONENT lib
++ ARCHIVE DESTINATION lib COMPONENT lib-dev
+ )
+
+-install(FILES ${PROJECT_BINARY_DIR}/tcplay.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig COMPONENT lib-dev)
++install(FILES ${PROJECT_BINARY_DIR}/tcplay.pc DESTINATION lib/pkgconfig COMPONENT lib-dev)
+
+ install(FILES tcplay_api.h DESTINATION include COMPONENT lib-dev)
+ install(FILES tcplay.3 DESTINATION share/man/man3 COMPONENT lib-dev)
Copied: tcplay/repos/community-staging-x86_64/PKGBUILD (from rev 102658, tcplay/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-12-17 10:26:46 UTC (rev 102659)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+# Contributor: James Reed <supplantr at archlinux dot info>
+
+pkgname=tcplay
+pkgver=1.1
+pkgrel=2
+pkgdesc="Free and simple TrueCrypt implementation based on dm-crypt."
+arch=('i686' 'x86_64')
+url="https://github.com/bwalex/tc-play"
+license=('custom')
+depends=('device-mapper')
+makedepends=('cmake')
+source=("https://github.com/bwalex/tc-play/archive/v${pkgver}.tar.gz"
+ tc-play-1.1-fix-paths.patch)
+sha256sums=('62346e852c6f781fffebf5c43e5967ceb0e36304626aa27e77c77378f8215d84'
+ '007b960675400b7e0a10765952041dcc1943e5cb79367e2ed4938f2c5e64ea57')
+
+prepare() {
+ cd "tc-play-$pkgver"
+ patch -Np1 -i ../tc-play-1.1-fix-paths.patch
+}
+
+build() {
+ cd "tc-play-$pkgver"
+ mkdir -p objdir
+ cd objdir
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package() {
+ cd "tc-play-$pkgver/objdir"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/tcplay/LICENSE
+}
Copied: tcplay/repos/community-staging-x86_64/tc-play-1.1-fix-paths.patch (from rev 102658, tcplay/trunk/tc-play-1.1-fix-paths.patch)
===================================================================
--- community-staging-x86_64/tc-play-1.1-fix-paths.patch (rev 0)
+++ community-staging-x86_64/tc-play-1.1-fix-paths.patch 2013-12-17 10:26:46 UTC (rev 102659)
@@ -0,0 +1,49 @@
+--- tc-play-1.1/CMakeLists.txt.orig 2013-12-12 22:55:24.788832261 +0100
++++ tc-play-1.1/CMakeLists.txt 2013-12-12 22:56:16.099181617 +0100
+@@ -63,20 +63,6 @@
+ endif()
+
+
+-if (NOT LIB_SUFFIX)
+- message(STATUS "")
+- message(STATUS "LIB_SUFFIX variable is not defined. It will be autodetected now.")
+- message(STATUS "You can set it manually with -DLIB_SUFFIX=<value> (e.g. 64).")
+- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
+- message(STATUS "\nSetting LIB_SUFFIX=64\n")
+- set (LIB_SUFFIX "64")
+- else()
+- message(STATUS "\nSetting LIB_SUFFIX=\n")
+- set (LIB_SUFFIX "")
+- endif()
+-endif()
+-
+-
+
+ add_executable(tcplay-bin main.c ${SRCS_COMMON} ${SRCS_LINUX} ${SRCS_PBKDF})
+ set_target_properties(tcplay-bin PROPERTIES OUTPUT_NAME tcplay)
+@@ -102,7 +88,7 @@
+ # Generate pkg-config file tcplay.pc
+ file(WRITE ${PROJECT_BINARY_DIR}/tcplay.pc "prefix=${CMAKE_INSTALL_PREFIX}
+ exec_prefix=${CMAKE_INSTALL_PREFIX}
+-libdir=${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
++libdir=${CMAKE_INSTALL_PREFIX}/lib
+ includedir=${CMAKE_INSTALL_PREFIX}/include
+
+ Name: libtcplay
+@@ -117,12 +103,12 @@
+
+ # Installation targets
+ install(TARGETS tcplay-bin tcplay-static tcplay-so
+- RUNTIME DESTINATION sbin COMPONENT bin
+- LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT lib
+- ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT lib-dev
++ RUNTIME DESTINATION bin COMPONENT bin
++ LIBRARY DESTINATION lib COMPONENT lib
++ ARCHIVE DESTINATION lib COMPONENT lib-dev
+ )
+
+-install(FILES ${PROJECT_BINARY_DIR}/tcplay.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig COMPONENT lib-dev)
++install(FILES ${PROJECT_BINARY_DIR}/tcplay.pc DESTINATION lib/pkgconfig COMPONENT lib-dev)
+
+ install(FILES tcplay_api.h DESTINATION include COMPONENT lib-dev)
+ install(FILES tcplay.3 DESTINATION share/man/man3 COMPONENT lib-dev)
More information about the arch-commits
mailing list