summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKonstantin Shalygin2019-03-06 19:12:28 +0700
committerKonstantin Shalygin2019-03-06 19:12:28 +0700
commit4771409ef91ed19a7ff1d0f39a8e664433c4d1a2 (patch)
treef8b35f681c5630863132b154152deaff273db045 /PKGBUILD
parent5bd764eccda975b90eebd752ce9b9f2cd826a7f9 (diff)
downloadaur-4771409ef91ed19a7ff1d0f39a8e664433c4d1a2.tar.gz
Bump to 1.0.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 7 insertions, 8 deletions
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}"
}