Skip to content

Commit f91c841

Browse files
committed
Ignored build locations
1 parent c012084 commit f91c841

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/target
2-
**/*.rs.bk
2+
**/*.rs.bk
3+
pkg
4+
**.tar.xz

PKGBUILD

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ url="https://github.com/whizsid/osm-to-sql"
99
license=('MIT')
1010

1111
build() {
12-
return 0
12+
cargo build --release --locked
1313
}
1414

1515
package() {
16-
cd $srcdir
17-
cargo install --root="$pkgdir" --git=https://github.com/whizsid/osm-to-sql
16+
install -Dm 755 "$srcdir/../target/release/${pkgname}" -t "${pkgdir}/usr/bin"
1817
}

0 commit comments

Comments
 (0)