diff options
author | Konstantin Shalygin | 2019-06-15 21:28:32 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2019-06-15 21:28:32 +0700 |
commit | 95844fa0aa9bf7f479b90ab4df49af632aa02f78 (patch) | |
tree | f2f2c595137bac912d0b91ea9856f9a7ab078088 | |
parent | 63e6b50e8381676e4cf26a2bf77b6468f7df1d6e (diff) | |
download | aur-95844fa0aa9bf7f479b90ab4df49af632aa02f78.tar.gz |
Bump to 1.1.2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 12 insertions, 9 deletions
@@ -1,16 +1,14 @@ -# Generated by mksrcinfo v8 -# Tue Apr 23 06:21:38 UTC 2019 pkgbase = ip2geo pkgdesc = Import ipgeo data to files for nginx geoip module - pkgver = 1.0.9 + pkgver = 1.1.2 pkgrel = 1 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.0.9.tar.gz - sha256sums = 09cfa2441326f6549ea28ef2b07455262f50dc2f5b4b4362f9be647944fc8fca + source = https://github.com/m-messiah/ip2geo/archive/v1.1.2.tar.gz + sha256sums = 43efca4fe6450db72c82c3c95cb5860941a60abc1f8adf1325d8f2f5c3999449 pkgname = ip2geo @@ -2,7 +2,7 @@ # Contributor: Shalygin Konstantin <k0ste@k0ste.ru> pkgname='ip2geo' -pkgver='1.0.9' +pkgver='1.1.2' pkgrel='1' pkgdesc='Import ipgeo data to files for nginx geoip module' arch=('x86_64' 'i686') @@ -10,17 +10,22 @@ url="https://github.com/m-messiah/${pkgname}" license=('MIT') makedepends=('go') source=("${url}/archive/v${pkgver}.tar.gz") -sha256sums=('09cfa2441326f6549ea28ef2b07455262f50dc2f5b4b4362f9be647944fc8fca') +sha256sums=('43efca4fe6450db72c82c3c95cb5860941a60abc1f8adf1325d8f2f5c3999449') 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" ln -snf "${srcdir}/${pkgname}-${pkgver}" "${GOPATH}/src/github.com/m-messiah/${pkgname}" cd ${GOPATH} - go get -v -x github.com/fatih/color - go get -v -x golang.org/x/net/html/charset + go get -v -x github.com/fatih/color + go get -v -x github.com/jinzhu/configor + go get -v -x golang.org/x/net/html/charset } build() { |