summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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}"
}