[arch-commits] Commit in gocryptfs/trunk (PKGBUILD build_flags.patch makefile.patch)

Maxim Baz maximbaz at archlinux.org
Sun Oct 6 23:43:12 UTC 2019


    Date: Sunday, October 6, 2019 @ 23:43:12
  Author: maximbaz
Revision: 513675

Modified:
  gocryptfs/trunk/PKGBUILD
Deleted:
  gocryptfs/trunk/build_flags.patch
  gocryptfs/trunk/makefile.patch

-------------------+
 PKGBUILD          |   18 +++++-------------
 build_flags.patch |   11 -----------
 makefile.patch    |   22 ----------------------
 3 files changed, 5 insertions(+), 46 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-06 22:12:57 UTC (rev 513674)
+++ PKGBUILD	2019-10-06 23:43:12 UTC (rev 513675)
@@ -3,8 +3,8 @@
 
 _pkgauthor=rfjakob
 pkgname=gocryptfs
-pkgver=1.7
-pkgrel=4
+pkgver=1.7.1
+pkgrel=1
 pkgdesc='Encrypted overlay filesystem written in Go.'
 arch=('x86_64')
 url="https://github.com/${_pkgauthor}/${pkgname}"
@@ -12,22 +12,14 @@
 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')
+        "${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}"
-
-    cd "${srcdir}/gopath/src/github.com/${_pkgauthor}/${pkgname}"
-    patch -Np1 -i "${srcdir}/build_flags.patch"
-    patch -Np1 -i "${srcdir}/makefile.patch"
 }
 
 build() {

Deleted: build_flags.patch
===================================================================
--- build_flags.patch	2019-10-06 22:12:57 UTC (rev 513674)
+++ build_flags.patch	2019-10-06 23:43:12 UTC (rev 513675)
@@ -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 22:12:57 UTC (rev 513674)
+++ makefile.patch	2019-10-06 23:43:12 UTC (rev 513675)
@@ -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