summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f88f9447c8741261bc2e779854ef8da6fb496f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: peippo <christoph.fink@gmail.com>

pkgname="nominatim-data-postcodes-gb"
pkgdesc="Optional postcode (GB) data to use with nominatim"
url="https://nominatim.org"

pkgver=20200805
pkgrel=1

arch=("any")
license=("unknown")

depends=(
    "nominatim"
)

source=(
    "https://www.nominatim.org/data/gb_postcode_data.sql.gz"
)
sha256sums=(
    "7cbcf8f5c4b1acf0c538c6dd254491dd5cfdca2942eb45545cd2fe4a79c0331c"
)
noextract=(
    "gb_postcode_data.sql.gz"
)

package() {
    install -Dm644 -t "${pkgdir}/var/lib/nominatim/src/data/" \
        "${srcdir}/gb_postcode_data.sql.gz"
}