[arch-commits] Commit in gocryptfs/repos/community-x86_64 (4 files)
Maxim Baz
maximbaz at archlinux.org
Sun Oct 6 23:43:44 UTC 2019
Date: Sunday, October 6, 2019 @ 23:43:44
Author: maximbaz
Revision: 513676
archrelease: copy trunk to community-x86_64
Added:
gocryptfs/repos/community-x86_64/PKGBUILD
(from rev 513675, gocryptfs/trunk/PKGBUILD)
Deleted:
gocryptfs/repos/community-x86_64/PKGBUILD
gocryptfs/repos/community-x86_64/build_flags.patch
gocryptfs/repos/community-x86_64/makefile.patch
-------------------+
PKGBUILD | 76 +++++++++++++++++++++++-----------------------------
build_flags.patch | 11 -------
makefile.patch | 22 ---------------
3 files changed, 34 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 23:43:12 UTC (rev 513675)
+++ PKGBUILD 2019-10-06 23:43:44 UTC (rev 513676)
@@ -1,42 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Peter Reschenhofer <peter.reschenhofer at gmail.com>
-
-_pkgauthor=rfjakob
-pkgname=gocryptfs
-pkgver=1.7
-pkgrel=4
-pkgdesc='Encrypted overlay filesystem written in Go.'
-arch=('x86_64')
-url="https://github.com/${_pkgauthor}/${pkgname}"
-license=('MIT')
-depends=('gcc-libs' 'openssl' 'fuse')
-makedepends=('go-pie' 'pandoc' 'man-db')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz"
- "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz.asc"
- "build_flags.patch"
- "makefile.patch")
-sha256sums=('2d1a2cfd072d554a28ee6e6807474b00ac710fb1aaf7aa81f3d8e94e80f6a703'
- 'SKIP'
- 'f43c3d2cc8c7f0338dbd553d0189eda269d7ceee6a3539dd6096c18e7344e567'
- '2821a72db020d4d5b3aeb0ce6584ec1edcda2b0948c155bc95ead634e760d37e')
-validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740')
-
-prepare() {
- mkdir -p "${srcdir}/gopath/src/github.com/${_pkgauthor}"
- ln -rTsf "${srcdir}/${pkgname}_v${pkgver}_src-deps" "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-
- cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
- patch -Np1 -i "${srcdir}/build_flags.patch"
- patch -Np1 -i "${srcdir}/makefile.patch"
-}
-
-build() {
- export GOPATH="${srcdir}/gopath"
- cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
- make build
-}
-
-package() {
- cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
- make DESTDIR="${pkgdir}" install
-}
Copied: gocryptfs/repos/community-x86_64/PKGBUILD (from rev 513675, gocryptfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-06 23:43:44 UTC (rev 513676)
@@ -0,0 +1,34 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Peter Reschenhofer <peter.reschenhofer at gmail.com>
+
+_pkgauthor=rfjakob
+pkgname=gocryptfs
+pkgver=1.7.1
+pkgrel=1
+pkgdesc='Encrypted overlay filesystem written in Go.'
+arch=('x86_64')
+url="https://github.com/${_pkgauthor}/${pkgname}"
+license=('MIT')
+depends=('gcc-libs' 'openssl' 'fuse')
+makedepends=('go-pie' 'pandoc' 'man-db')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz"
+ "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/${_pkgauthor}/${pkgname}/releases/download/v${pkgver}/${pkgname}_v${pkgver}_src-deps.tar.gz.asc")
+sha256sums=('d3fc2c87b869025cd51e4abea030e58e7383197a7458f26bf99a71b224402bda'
+ 'SKIP')
+validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740')
+
+prepare() {
+ mkdir -p "${srcdir}/gopath/src/github.com/${_pkgauthor}"
+ ln -rTsf "${srcdir}/${pkgname}_v${pkgver}_src-deps" "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+}
+
+build() {
+ export GOPATH="${srcdir}/gopath"
+ cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+ make build
+}
+
+package() {
+ cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: build_flags.patch
===================================================================
--- build_flags.patch 2019-10-06 23:43:12 UTC (rev 513675)
+++ build_flags.patch 2019-10-06 23:43:44 UTC (rev 513676)
@@ -1,11 +0,0 @@
---- a/build.bash
-+++ b/build.bash
-@@ -90,7 +90,7 @@ fi
- # Actual "go build" call
- go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@"
-
--(cd gocryptfs-xray; go build "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
-+(cd gocryptfs-xray; go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@")
-
- ./gocryptfs -version
-
Deleted: makefile.patch
===================================================================
--- makefile.patch 2019-10-06 23:43:12 UTC (rev 513675)
+++ makefile.patch 2019-10-06 23:43:44 UTC (rev 513676)
@@ -1,22 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1,6 +1,7 @@
- .phony: build
- build:
- ./build.bash
-+ ./Documentation/MANPAGE-render.bash
-
- .phony: test
- test:
-@@ -9,3 +10,11 @@ test:
- .phony: format
- format:
- go fmt ./...
-+
-+.phony: install
-+install:
-+ install -Dm755 -t "$(DESTDIR)/usr/bin/" gocryptfs
-+ install -Dm755 -t "$(DESTDIR)/usr/bin/" gocryptfs-xray/gocryptfs-xray
-+ install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs.1
-+ install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs-xray.1
-+ install -Dm644 -t "$(DESTDIR)/usr/share/licenses/gocryptfs" LICENSE
More information about the arch-commits
mailing list