summaryrefslogtreecommitdiff
path: root/community/tcplay/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/tcplay/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/tcplay/PKGBUILD')
-rw-r--r--community/tcplay/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/tcplay/PKGBUILD b/community/tcplay/PKGBUILD
new file mode 100644
index 000000000..2e11106e0
--- /dev/null
+++ b/community/tcplay/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 102520 2013-12-12 22:28:07Z tredaelli $
+# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+# Contributor: James Reed <supplantr at archlinux dot info>
+
+pkgname=tcplay
+pkgver=1.1
+pkgrel=1
+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
+}