# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libpostal-data pkgver=1.0.0 pkgrel=0 pkgdesc="Data required by libpostal" url="https://github.com/openvenues/libpostal" arch="noarch" license="MIT" source="$pkgname-$pkgver.tar.gz::https://github.com/openvenues/libpostal/releases/download/v$pkgver/libpostal_data.tar.gz $pkgname-language-classifier-$pkgver.tar.gz::https://github.com/openvenues/libpostal/releases/download/v$pkgver/language_classifier.tar.gz $pkgname-parser-$pkgver.tar.gz::https://github.com/openvenues/libpostal/releases/download/v$pkgver/parser.tar.gz" options="!check" # No code to test builddir="$srcdir" package() { install -dm755 "$pkgdir"/usr/share/libpostal for data in address_expansions numex transliteration language_classifier address_parser; do cp -r "$srcdir/$data" "$pkgdir"/usr/share/libpostal/ done } sha512sums="8e7e633934cec471b7cea01cd88c5bf5190e270a918b084d2d45964ae4d2c0d888105cfe7d58d2688f708e8ad654b1931cdc6eef0a6a930b409752d1670f84f3 libpostal-data-1.0.0.tar.gz 42a64b0c7d8db5db3f69ac261519b85272433ec4dd9b31c5ca05a3f924d0f1083b0cd09fbc06feb4164aa8f6015e2b52df54327a1cd47b5779afb1358f104e80 libpostal-data-language-classifier-1.0.0.tar.gz 1577196144626d1380f1891fa7dd15738627bdf2b18279ff15abe4c5b29e9533b60b508e0242b6bd93cea096229c1720476d5288704e3a1beda5053b3cd1a880 libpostal-data-parser-1.0.0.tar.gz"