summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sun2018-07-30 13:43:27 -0400
committerAndrew Sun2018-07-30 13:43:27 -0400
commitf4c135b99a27aa77cf0a813b0debb3b843925636 (patch)
treebf2a85e7e1d4b351a7c399c513e419b9a6021722
parent238c32b6645957028512ebaefa95f2ddec584801 (diff)
downloadaur-f4c135b99a27aa77cf0a813b0debb3b843925636.tar.gz
mingw-w64-proj: update to 5.1.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD30
2 files changed, 16 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c4f51ab635..b983485cbdb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,17 @@
-# Generated by mksrcinfo v8
-# Sun Mar 13 10:16:27 UTC 2016
pkgbase = mingw-w64-proj
pkgdesc = Cartographic Projections library. (mingw-w64)
- pkgver = 4.9.2
+ pkgver = 5.1.0
pkgrel = 1
url = http://trac.osgeo.org/proj/
arch = any
- license = BSD
+ license = MIT
makedepends = mingw-w64-configure
depends = mingw-w64-crt
options = !strip
options = !buildflags
options = staticlibs
- source = https://github.com/OSGeo/proj.4/archive/4.9.2.tar.gz
- sha256sums = 9a40de36183d23a395cf51ba7a465e1e6c982b6e4553b31310c42012d188be6b
+ source = http://download.osgeo.org/proj/proj-5.1.0.tar.gz
+ sha256sums = 6b1379a53317d9b5b8c723c1dc7bf2e3a8eb22ceb46b8807a1ce48ef65685bb3
pkgname = mingw-w64-proj
diff --git a/PKGBUILD b/PKGBUILD
index 8f5854500a8..fdb297377b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,22 @@
+# Maintainer: Andrew Sun <adsun701@gmail.com>
+
pkgname=mingw-w64-proj
-pkgver=4.9.2
+pkgver=5.1.0
pkgrel=1
arch=('any')
pkgdesc="Cartographic Projections library. (mingw-w64)"
depends=('mingw-w64-crt')
makedepends=('mingw-w64-configure')
options=('!strip' '!buildflags' 'staticlibs')
-license=('BSD')
+license=('MIT')
url="http://trac.osgeo.org/proj/"
-source=("https://github.com/OSGeo/proj.4/archive/${pkgver}.tar.gz")
-sha256sums=('9a40de36183d23a395cf51ba7a465e1e6c982b6e4553b31310c42012d188be6b')
+source=("http://download.osgeo.org/proj/proj-${pkgver}.tar.gz")
+sha256sums=('6b1379a53317d9b5b8c723c1dc7bf2e3a8eb22ceb46b8807a1ce48ef65685bb3')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-prepare () {
- cd "${srcdir}"/proj.4-${pkgver}
- sed -i "76,80d" src/Makefile.am
- sed -i "s|src man nad jniwrap cmake|src man jniwrap cmake|g" Makefile.am
- autoreconf -vfi
-}
-
-build()
-{
- cd "${srcdir}"/proj.4-${pkgver}
+build() {
+ cd "${srcdir}"/proj-${pkgver}
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-configure \
@@ -34,10 +28,10 @@ build()
package() {
for _arch in ${_architectures}; do
- cd "$srcdir/proj.4-${pkgver}/build-${_arch}"
- make DESTDIR="$pkgdir/" install
- rm -r "$pkgdir"/usr/${_arch}/share
- rm "$pkgdir/usr/${_arch}"/bin/*.exe
+ cd "${srcdir}/proj-${pkgver}/build-${_arch}"
+ make DESTDIR="${pkgdir}/" install
+ rm -rf "${pkgdir}"/usr/${_arch}/share
+ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.exe
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done