summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2019-03-06 19:12:28 +0700
committerKonstantin Shalygin2019-03-06 19:12:28 +0700
commit4771409ef91ed19a7ff1d0f39a8e664433c4d1a2 (patch)
treef8b35f681c5630863132b154152deaff273db045
parent5bd764eccda975b90eebd752ce9b9f2cd826a7f9 (diff)
downloadaur-4771409ef91ed19a7ff1d0f39a8e664433c4d1a2.tar.gz
Bump to 1.0.5
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2226b7065f4..19358ec7f4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
# Generated by mksrcinfo v8
-# Fri Jan 11 09:15:32 UTC 2019
+# Wed Mar 6 12:12:11 UTC 2019
pkgbase = ip2geo
pkgdesc = Import ipgeo data to files for nginx geoip module
- pkgver = 1.0.4.1
+ pkgver = 1.0.5
pkgrel = 1
- url = https://github.com/pm-messiah/ip2geo
+ url = https://github.com/m-messiah/ip2geo
arch = x86_64
arch = i686
license = MIT
makedepends = go
- source = https://github.com/pm-messiah/ip2geo/archive/v1.0.4-1.tar.gz
- sha256sums = 10585bcb2de7cef8a063dcacf856a5faddb3676a3f578b5008855a565cd37628
+ source = https://github.com/m-messiah/ip2geo/archive/v1.0.5.tar.gz
+ sha256sums = 38234b02cbb58a71432088859b543bb32c87545ec74b62895ec407727d0bf3d2
pkgname = ip2geo
diff --git a/PKGBUILD b/PKGBUILD
index c7f5b577ef4..69798114bd7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,22 @@
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='ip2geo'
-_wrong_ver='1.0.4-1'
-pkgver='1.0.4.1'
+pkgver='1.0.5'
pkgrel='1'
pkgdesc='Import ipgeo data to files for nginx geoip module'
arch=('x86_64' 'i686')
-url="https://github.com/pm-messiah/${pkgname}"
+url="https://github.com/m-messiah/${pkgname}"
license=('MIT')
makedepends=('go')
-source=("${url}/archive/v${_wrong_ver}.tar.gz")
-sha256sums=('10585bcb2de7cef8a063dcacf856a5faddb3676a3f578b5008855a565cd37628')
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('38234b02cbb58a71432088859b543bb32c87545ec74b62895ec407727d0bf3d2')
prepare() {
- cd "${srcdir}/${pkgname}-${_wrong_ver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
export GOPATH="${srcdir}/gopath"
export GOBIN="${GOPATH}/bin"
mkdir -p "${GOPATH}/src/github.com/m-messiah"
- ln -snf "${srcdir}/${pkgname}-${_wrong_ver}" "${GOPATH}/src/github.com/m-messiah/${pkgname}"
+ 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
@@ -31,6 +30,6 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${_wrong_ver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}