summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 495e997e7b87..2a6d3739c793 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cheat-git
pkgdesc = Allows you to create and view interactive cheatsheets on the command-line
- pkgver = 4.2.0.r0.g883a170
- pkgrel = 2
+ pkgver = 4.2.1.r0.g1eb44e8
+ pkgrel = 1
url = https://github.com/cheat/cheat
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c5c05d876b43..129f107d3970 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Bogdan <d0xi at inbox dot ru>
# Contributor: Quan Guo <guotsuan@gmail.com>
pkgname=cheat-git
-pkgver=4.2.0.r0.g883a170
-pkgrel=2
+pkgver=4.2.1.r0.g1eb44e8
+pkgrel=1
pkgdesc="Allows you to create and view interactive cheatsheets on the command-line"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
url="https://github.com/cheat/cheat"
@@ -30,6 +30,9 @@ pkgver() {
}
prepare() {
+ # Prevent creation of a `go` directory in one's home.
+ # Sometimes this directory cannot be removed with even `rm -rf` unless
+ # one becomes root or changes the write permissions.
export GOPATH="$srcdir/gopath"
go clean -modcache
}