[arch-commits] Commit in tcplay/repos (2 files)

Christian Hesse eworm at archlinux.org
Tue Feb 2 20:05:06 UTC 2021


    Date: Tuesday, February 2, 2021 @ 20:05:06
  Author: eworm
Revision: 841512

archrelease: copy trunk to community-staging-x86_64

Added:
  tcplay/repos/community-staging-x86_64/
  tcplay/repos/community-staging-x86_64/PKGBUILD
    (from rev 841511, tcplay/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: tcplay/repos/community-staging-x86_64/PKGBUILD (from rev 841511, tcplay/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-02-02 20:05:06 UTC (rev 841512)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: 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=3.3
+pkgrel=2
+pkgdesc='Free and simple TrueCrypt implementation based on dm-crypt'
+url='https://github.com/bwalex/tc-play'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'device-mapper' 'util-linux-libs' 'libgcrypt' 'libuuid.so')
+makedepends=('cmake' 'udev')
+provides=('libtcplay.so')
+source=(https://github.com/bwalex/tc-play/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('ad53cd814a23b4f61a1b2b6dc2539624ffb550504c400c45cbd8cd1da4c7d90a')
+b2sums=('c02489d6e291dfc1425745af86506e72fda7f67dba0668b9250a85604ba301761b5bbbad6927238042a0f89da1035d9e3275006e34e895835a53cdc24974f419')
+
+build() {
+  mkdir -p tc-play-${pkgver}/build
+  cd tc-play-${pkgver}/build
+  # cmake is stupid
+  export CFLAGS+=" ${CPPFLAGS}"
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_SUFFIX= \
+    -DSBIN_DIR=bin ..
+  make VERBOSE=1
+}
+
+package() {
+  cd tc-play-${pkgver}
+  make -C build DESTDIR="$pkgdir" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 CHANGELOG README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list