summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSibren Vasse2022-05-29 17:33:29 +0200
committerSibren Vasse2022-05-29 17:33:29 +0200
commitba50aee235b9996a428c9f6465237dd757b5292e (patch)
treea49070416d8b0f663bfb7638b118550680c4e8ca
parent4555de4a4d143e198d5d2781d0b15f399e055526 (diff)
downloadaur-ba50aee235b9996a428c9f6465237dd757b5292e.tar.gz
update ldflags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index beee7c0686e9..06a9364e9853 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kepubify
pkgdesc = Convert your ePubs into kepubs, with a easy-to-use command-line tool
pkgver = 4.0.4
- pkgrel = 1
+ pkgrel = 2
url = https://pgaskin.net/kepubify/
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index f4d1e61dd667..b99be1411761 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kepubify
pkgver=4.0.4
-pkgrel=1
+pkgrel=2
pkgdesc='Convert your ePubs into kepubs, with a easy-to-use command-line tool'
arch=('x86_64')
url='https://pgaskin.net/kepubify/'
@@ -20,7 +20,7 @@ build() {
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-extldflags $LDFLAGS -X main.version=$pkgver" \
+ -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=$pkgver" \
-o $pkgname \
github.com/pgaskin/kepubify/v4/cmd/kepubify/
@@ -29,7 +29,7 @@ build() {
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-extldflags $LDFLAGS -X main.version=$pkgver" \
+ -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=$pkgver" \
-o covergen \
github.com/pgaskin/kepubify/v4/cmd/covergen/
@@ -38,7 +38,7 @@ build() {
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-extldflags $LDFLAGS -X main.version=$pkgver" \
+ -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=$pkgver" \
-o seriesmeta \
github.com/pgaskin/kepubify/v4/cmd/seriesmeta/
}