summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca3e05e8dd2a05efee29fb26728a692cd155b060 (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.2
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.2')
md5sums=('SKIP')

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

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