diff options
author | frealgagu | 2021-02-08 16:55:34 -0500 |
---|---|---|
committer | frealgagu | 2021-02-08 16:55:34 -0500 |
commit | 9f9411bbc6adc8fad253dcb5567b9aa48f89f900 (patch) | |
tree | bd227a59ce05cd0735f95922f7714188aae3f8e8 | |
parent | 7260133e406380ff17bc1eb9d8a35baaf22e5458 (diff) | |
download | aur-9f9411bbc6adc8fad253dcb5567b9aa48f89f900.tar.gz |
Updating URL, adding linkmode external for FULL RELRO, adding wl-clipboard as optional dependency.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 7 deletions
@@ -1,8 +1,8 @@ pkgbase = micro pkgdesc = A modern and intuitive terminal-based text editor pkgver = 2.0.8 - pkgrel = 1 - url = https://github.com/zyedidia/micro + pkgrel = 2 + url = https://micro-editor.github.io/ arch = aarch64 arch = armv6h arch = armv7h @@ -13,6 +13,7 @@ pkgbase = micro makedepends = go depends = glibc optdepends = xclip: Required for copying/pasting text + optdepends = wl-clipboard source = micro-2.0.8::git+https://github.com/zyedidia/micro.git#tag=v2.0.8 source = semver::git+https://github.com/blang/semver source = go-humanize::git+https://github.com/dustin/go-humanize @@ -5,14 +5,17 @@ pkgname=micro pkgver=2.0.8 -pkgrel=1 +pkgrel=2 pkgdesc="A modern and intuitive terminal-based text editor" arch=("aarch64" "armv6h" "armv7h" "i686" "x86_64") -url="https://github.com/zyedidia/${pkgname}" +url="https://${pkgname}-editor.github.io/" license=("MIT") depends=("glibc") makedepends=("git" "go") -optdepends=("xclip: Required for copying/pasting text") +optdepends=( + "xclip: Required for copying/pasting text" + "wl-clipboard" +) source=( "${pkgname}-${pkgver}::git+https://github.com/zyedidia/${pkgname}.git#tag=v${pkgver}" "semver::git+https://github.com/blang/semver" @@ -92,8 +95,8 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -x -v" - make build-quick + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw -x -v" + make build # To avoid issues deleting directories next time go clean --modcache |