diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | Makefile.patch | 24 | ||||
-rw-r--r-- | PKGBUILD | 12 |
3 files changed, 4 insertions, 36 deletions
@@ -1,7 +1,7 @@ pkgbase = astronaut-git pkgdesc = Gemini browser for the terminal pkgver = 0.1.2.r1.g3f41b58 - pkgrel = 1 + pkgrel = 2 url = https://sr.ht/~adnano/astronaut arch = x86_64 license = GPL3 @@ -11,8 +11,6 @@ pkgbase = astronaut-git depends = glibc options = !lto source = astronaut-git::git+https://git.sr.ht/~adnano/astronaut#branch=master - source = Makefile.patch sha256sums = SKIP - sha256sums = 8e1d4bb411d3d678a9feb4bcfc53954279ebe0fb4c3a4583a3b7a541c05edcd2 pkgname = astronaut-git diff --git a/Makefile.patch b/Makefile.patch deleted file mode 100644 index 824dcaa13be6..000000000000 --- a/Makefile.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/Makefile b/Makefile -index fc76416..f8a2762 100644 ---- a/Makefile -+++ b/Makefile -@@ -13,7 +13,7 @@ MANDIR=$(PREFIX)/share/man - VPATH=doc - RM=rm - GO=go --GOFLAGS= -+GOFLAGS?= - - DOCS = \ - astronaut.1 -@@ -28,7 +28,9 @@ doc: $(DOCS) - astronaut: $(GOSRC) - $(GO) build $(GOFLAGS) \ - -ldflags "-X main.Version=$(VERSION) \ -- -X main.ShareDir=$(SHAREDIR)" \ -+ -X main.ShareDir=$(SHAREDIR) \ -+ -linkmode=external \ -+ -extldflags=$(LDFLAGS)" \ - -o $@ - - clean: @@ -2,7 +2,7 @@ pkgname=astronaut-git pkgver=0.1.2.r1.g3f41b58 -pkgrel=1 +pkgrel=2 pkgdesc="Gemini browser for the terminal" arch=('x86_64') url="https://sr.ht/~adnano/astronaut" @@ -10,14 +10,8 @@ license=('GPL3') depends=('glibc') makedepends=('git' 'go' 'scdoc') options=('!lto') -source=( - "$pkgname::git+https://git.sr.ht/~adnano/astronaut#branch=master" - 'Makefile.patch' -) -sha256sums=( - 'SKIP' - '8e1d4bb411d3d678a9feb4bcfc53954279ebe0fb4c3a4583a3b7a541c05edcd2' -) +source=("$pkgname::git+https://git.sr.ht/~adnano/astronaut#branch=master") +sha256sums=('SKIP') pkgver() { git -C "$pkgname" describe --long --tags | sed 's/-/.r/;s/-/./' |