summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mesa2021-07-31 19:39:54 -0500
committerSamuel Mesa2021-07-31 19:39:54 -0500
commita52acd25981d810a54144b9a32cfb77a2a1de84f (patch)
tree96725e22fc186c21c0796a78c1e87de9709ebb84
parent67514e9e46f9085498f10d0d67aaa583fe41c07d (diff)
downloadaur-librasterlite2.tar.gz
Firt version
-rwxr-xr-x[-rw-r--r--].SRCINFO14
-rwxr-xr-x[-rw-r--r--]PKGBUILD41
2 files changed, 24 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b8086587ea..f43294ccf2c 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,20 @@
-pkgbase = librasterlite2-devel
+pkgbase = librasterlite2
pkgdesc = librasterlite2 is an open source library that stores and retrieves huge raster coverages using a SpatiaLite DBMS.
- pkgver = r164.5ebd747
+ pkgver = 1.1.0
pkgrel = 1
url = https://www.gaia-gis.it/fossil/librasterlite2/index
arch = x86_64
arch = i686
license = GPLv3
- makedepends = fossil
- depends = libspatialite-devel
+ depends = libspatialite
depends = libpng
depends = proj
depends = openjpeg2
depends = charls1
provides = librasterlite2
conflicts = librasterlite2
- replaces = librasterlite2
-
-pkgname = librasterlite2-devel
+ replaces = spatialite_gui
+ source = http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-1.1.0-beta1.tar.gz
+ sha256sums = f7284cdfc07ad343a314e4878df0300874b0145d9d331b063b096b482e7e44f4
+pkgname = librasterlite2
diff --git a/PKGBUILD b/PKGBUILD
index 08382123983..0da539eef69 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,35 @@
# Maintainer: Samuel Fernando Mesa <samuelmesa dot linuxmail.org>
-pkgname=librasterlite2-devel
-_pkgname=librasterlite2
-pkgver=r164.5ebd747
+pkgname=librasterlite2
+pkgver=1.1.0
+_pkgver=1.1.0-beta1
pkgrel=1
pkgdesc="librasterlite2 is an open source library that stores and retrieves huge raster coverages using a SpatiaLite DBMS."
url="https://www.gaia-gis.it/fossil/librasterlite2/index"
arch=('x86_64' 'i686')
license=('GPLv3')
-depends=('libspatialite-devel' 'libpng' 'proj' 'openjpeg2' 'charls1')
-makedepends=('fossil')
+depends=('libspatialite' 'libpng' 'proj' 'openjpeg2' 'charls1')
provides=("librasterlite2")
conflicts=("librasterlite2")
replaces=("librasterlite2")
-
-prepare() {
- mkdir -p ${_pkgname}
- cd ${_pkgname}
-
- fossil clone https://www.gaia-gis.it/fossil/librasterlite2 librasterlite2.fossil
- fossil open librasterlite2.fossil
-}
-
-pkgver() {
- cd ${_pkgname}
-
- _hash=$(fossil info | sed -n 's/checkout: *\([0-9a-z]*\).*/\1/p' | cut -c 1-7)
- _revision=$(fossil info | sed -n 's/check-ins: *\(.*\)/\1/p')
- printf "r%s.%s" "$_revision" "$_hash"
-}
+replaces=(spatialite_gui)
+source=("http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-${_pkgver}.tar.gz")
+sha256sums=('f7284cdfc07ad343a314e4878df0300874b0145d9d331b063b096b482e7e44f4')
build() {
- cd ${_pkgname}
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ sed -ie 's/(wx-config --libs)/(wx-config --libs all)/g' ./configure.ac
+ sed -ie 's/-lgeos_c/-lgeos_c -lsqlite3/' configure.ac
+
+ autoconf
./configure --prefix="/usr"
- make -j2
+ make
+ make check
}
package() {
- cd ${_pkgname}
+ cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
}
+
+# vim:set ts=2 sw=2 et: