summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--Makefile.patch24
-rw-r--r--PKGBUILD12
3 files changed, 4 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93316d6006ee..8ce23cebb0db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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:
diff --git a/PKGBUILD b/PKGBUILD
index 812f769b4142..355d15cbfa0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/-/./'