summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThor772020-11-08 11:49:01 +0100
committerThor772020-11-08 11:49:01 +0100
commite7ba4c983795d3ee5233d4f0a4329dbea7e7aad2 (patch)
treee995d40bc609ebcb1acdac3b6586b1d23252dae6
parentb0b2c6e99a60e4d95cceadba72e83b89e46326d1 (diff)
downloadaur-e7ba4c983795.tar.gz
Apply patch from @somini
* aarch64 make target is now called linux-arm64 * force create the link for the source code on the GOPATH * use the new "COMMIT" Makefile variable, to avoid errors
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1dc02113cf..fb404f7ad3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = miniflux
pkgdesc = Minimalist Feed Reader
pkgver = 2.0.25
- pkgrel = 1
+ pkgrel = 2
url = https://miniflux.app
arch = x86_64
arch = arm
diff --git a/PKGBUILD b/PKGBUILD
index a9d2ce7921e..4f9ab7d646a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=miniflux
pkgver=2.0.25
-pkgrel=1
+pkgrel=2
pkgdesc='Minimalist Feed Reader'
arch=('x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url='https://miniflux.app'
@@ -27,7 +27,7 @@ sha256sums=('be207d714c0981052de03172dfe19ca2fcbdc97d9f7d7f9bbbeae5bd8a3c16ae'
prepare() {
mkdir -p "${srcdir}/src/github.com/miniflux"
- ln -s "${srcdir}/${_repo}-${pkgver}" "${srcdir}/src/github.com/miniflux/${pkgname}"
+ ln -sf "${srcdir}/${_repo}-${pkgver}" "${srcdir}/src/github.com/miniflux/${pkgname}"
}
case "$CARCH" in
@@ -36,7 +36,7 @@ case "$CARCH" in
arm) _target=armv5 ;;
armv6h) _target=armv6 ;;
armv7h) _target=armv7 ;;
- aarch64) _target=armv8 ;;
+ aarch64) _target=arm64 ;;
*) return 1 ;;
esac
@@ -49,7 +49,7 @@ build() {
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
- GOPATH="${srcdir}" PATH="${PATH}:${GOPATH}/bin/" make VERSION="${pkgver}" linux-$_target
+ GOPATH="${srcdir}" PATH="${PATH}:${GOPATH}/bin/" make VERSION="${pkgver}" COMMIT="${pkgver}" linux-$_target
}
package() {