36 lines
906 B
Text
Executable file
36 lines
906 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=geocode-glib
|
|
version=3.26.2
|
|
build=1sml
|
|
homepage="https://gitlab.gnome.org/GNOME/geocode-glib"
|
|
download="https://gitlab.gnome.org/GNOME/geocode-glib/-/archive/$version/geocode-glib-$version.tar.bz2"
|
|
desc="Library for geocoding aka finding latitude and longitude from address and reverse"
|
|
requires="json-glib libsoup"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
meson .. \
|
|
--prefix="/" \
|
|
-Denable-gtk-doc=false \
|
|
-Denable-introspection=false
|
|
|
|
ninja
|
|
DESTDIR="$pkg" ninja install
|
|
|
|
cp ../COPYING* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
611afcfe4d424fc2e2436158f5dd5b357d9ccb78a71340a8d37499dc1d7e517a689f0373689783affc1e15e6f724df06b7d5d361a29ef5551226bcbe72307826 geocode-glib-3.26.2.tar.lz
|
|
"
|