summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2019-06-16 11:02:45 +0700
committerKonstantin Shalygin2019-06-16 11:02:55 +0700
commitb73608ef98680c8856eadd5f88a86f0bb4d6c297 (patch)
tree431bf08f25a1cd286f89417d9c6a30a07039c8e5
parent95844fa0aa9bf7f479b90ab4df49af632aa02f78 (diff)
downloadaur-b73608ef98680c8856eadd5f88a86f0bb4d6c297.tar.gz
Disable version fix (fixed in upstream)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5892ff1e066..7da6d8f59e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = ip2geo
pkgdesc = Import ipgeo data to files for nginx geoip module
pkgver = 1.1.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/m-messiah/ip2geo
arch = x86_64
arch = i686
license = MIT
makedepends = go
source = https://github.com/m-messiah/ip2geo/archive/v1.1.2.tar.gz
- sha256sums = 43efca4fe6450db72c82c3c95cb5860941a60abc1f8adf1325d8f2f5c3999449
+ sha256sums = 9737a36de0503f2c8f81ce72bac20c09c8d35890ba100ddbe3054aca5c79d702
pkgname = ip2geo
diff --git a/PKGBUILD b/PKGBUILD
index 552217033a3..e97d346f25c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,17 @@
pkgname='ip2geo'
pkgver='1.1.2'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Import ipgeo data to files for nginx geoip module'
arch=('x86_64' 'i686')
url="https://github.com/m-messiah/${pkgname}"
license=('MIT')
makedepends=('go')
source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('43efca4fe6450db72c82c3c95cb5860941a60abc1f8adf1325d8f2f5c3999449')
+sha256sums=('9737a36de0503f2c8f81ce72bac20c09c8d35890ba100ddbe3054aca5c79d702')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
- # https://github.com/m-messiah/ip2geo/issues/28
- echo -e "\nconst VERSION = \"${pkgver}\"" >> version.go
-
export GOPATH="${srcdir}/gopath"
export GOBIN="${GOPATH}/bin"
mkdir -p "${GOPATH}/src/github.com/m-messiah"