[arch-commits] Commit in gocryptfs/repos/community-x86_64 (6 files)
Maxim Baz
maximbaz at archlinux.org
Fri Aug 16 08:30:36 UTC 2019
Date: Friday, August 16, 2019 @ 08:30:35
Author: maximbaz
Revision: 499819
archrelease: copy trunk to community-x86_64
Added:
gocryptfs/repos/community-x86_64/PKGBUILD
(from rev 499818, gocryptfs/trunk/PKGBUILD)
gocryptfs/repos/community-x86_64/build_flags.patch
(from rev 499818, gocryptfs/trunk/build_flags.patch)
gocryptfs/repos/community-x86_64/makefile.patch
(from rev 499818, gocryptfs/trunk/makefile.patch)
Deleted:
gocryptfs/repos/community-x86_64/PKGBUILD
gocryptfs/repos/community-x86_64/build_flags.patch
gocryptfs/repos/community-x86_64/makefile.patch
-------------------+
PKGBUILD | 84 ++++++++++++++++++++++++++--------------------------
build_flags.patch | 22 ++++++-------
makefile.patch | 44 +++++++++++++--------------
3 files changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-16 08:30:22 UTC (rev 499818)
+++ PKGBUILD 2019-08-16 08:30:35 UTC (rev 499819)
@@ -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=3
-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 499818, gocryptfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-16 08:30:35 UTC (rev 499819)
@@ -0,0 +1,42 @@
+# 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
+}
Deleted: build_flags.patch
===================================================================
--- build_flags.patch 2019-08-16 08:30:22 UTC (rev 499818)
+++ build_flags.patch 2019-08-16 08:30:35 UTC (rev 499819)
@@ -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
-
Copied: gocryptfs/repos/community-x86_64/build_flags.patch (from rev 499818, gocryptfs/trunk/build_flags.patch)
===================================================================
--- build_flags.patch (rev 0)
+++ build_flags.patch 2019-08-16 08:30:35 UTC (rev 499819)
@@ -0,0 +1,11 @@
+--- 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-08-16 08:30:22 UTC (rev 499818)
+++ makefile.patch 2019-08-16 08:30:35 UTC (rev 499819)
@@ -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
Copied: gocryptfs/repos/community-x86_64/makefile.patch (from rev 499818, gocryptfs/trunk/makefile.patch)
===================================================================
--- makefile.patch (rev 0)
+++ makefile.patch 2019-08-16 08:30:35 UTC (rev 499819)
@@ -0,0 +1,22 @@
+--- 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