summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c76d490d9604c595468bf7dbdfb5b9b9f7a67791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: WhizSid <whizsid@aol.com>
pkgname=osm-to-sql
pkgver=0.1.3
pkgrel=1
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="A tool to convert open street map XML data to SQL files."
url="https://github.com/whizsid/osm-to-sql"
license=('MIT')
source=('osm-to-sql::git+https://github.com/whizsid/osm-to-sql#tag=0.1.3')
md5sums=('SKIP')

build() {
    cd $pkgname
    cargo build --release --locked
}

package() {
    install -Dm 755 "$srcdir/$pkgname/target/release/${pkgname}" -t "${pkgdir}/usr/bin"
}