[arch-commits] Commit in cryfs/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 15:31:25 UTC 2020
Date: Tuesday, July 7, 2020 @ 15:31:24
Author: felixonmars
Revision: 658931
archrelease: copy trunk to community-staging-x86_64
Added:
cryfs/repos/community-staging-x86_64/
cryfs/repos/community-staging-x86_64/PKGBUILD
(from rev 658930, cryfs/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: cryfs/repos/community-staging-x86_64/PKGBUILD (from rev 658930, cryfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 15:31:24 UTC (rev 658931)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+# Contributor: kaylyn
+# Contributor: Giuseppe Calà <jiveaxe at gmail.com>
+
+pkgname=cryfs
+pkgver=0.10.2
+pkgrel=2
+pkgdesc="Cryptographic filesystem for the cloud"
+arch=(x86_64)
+depends=(fuse2 curl)
+makedepends=(cmake python boost)
+url="https://www.cryfs.org"
+license=(LGPL3)
+source=("https://github.com/cryfs/cryfs/releases/download/$pkgver/cryfs-$pkgver.tar.xz"{,.asc})
+sha256sums=('5531351b67ea23f849b71a1bc44474015c5718d1acce039cf101d321b27f03d5'
+ 'SKIP')
+validpgpkeys=(C3111FE656732704EF6DF059017DC932549E65B2) # CryFS Team <messmer at cryfs.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCRYFS_UPDATE_CHECKS=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ install -Dm 644 "$srcdir"/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm 644 "$srcdir"/README.md -t "$pkgdir"/usr/share/doc/$pkgname
+}
More information about the arch-commits
mailing list