diff options
author | Alexander F. Rødseth | 2019-11-19 15:33:43 +0100 |
---|---|---|
committer | Alexander F. Rødseth | 2019-11-19 15:33:43 +0100 |
commit | 205fc693a794d103a03153d66abb036898626135 (patch) | |
tree | 69f26a77c4896e51724bac2a51ebf47e8015e7ba | |
parent | dee645221e84215974b201ab781cffcf09d9b219 (diff) | |
download | aur-205fc693a794d103a03153d66abb036898626135.tar.gz |
New release
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 6 deletions
@@ -1,13 +1,14 @@ pkgbase = o - pkgdesc = Small, fast and limited text editor - pkgver = 2.8.0 + pkgdesc = Small, fast and VT100-compatible text editor + pkgver = 2.9.0 pkgrel = 1 url = https://github.com/xyproto/o arch = x86_64 license = BSD makedepends = git makedepends = go - source = git+https://github.com/xyproto/o#tag=2.8.0 + makedepends = upx + source = git+https://github.com/xyproto/o#tag=2.9.0 sha256sums = SKIP pkgname = o @@ -1,20 +1,24 @@ # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> pkgname=o -pkgver=2.8.0 +pkgver=2.9.0 pkgrel=1 -pkgdesc='Small, fast and limited text editor' +pkgdesc='Small, fast and VT100-compatible text editor' arch=(x86_64) url='https://github.com/xyproto/o' license=(BSD) -makedepends=(git go) +makedepends=(git go upx) source=("git+$url#tag=$pkgver") sha256sums=('SKIP') build() { cd "$pkgname" + + # Using gccgo gives a smaller size, but forces AUR users to juggle between go and gccgo, which is unfortunate #go build -buildmode=pie -gccgoflags="-s -w $LDFLAGS" + go build -buildmode=pie -gcflags="all=-trimpath=$PWD" -asmflags "all=-trimpath=$PWD" -ldflags "-s -w -extldflags $LDFLAGS" + upx o } package() { |