blob: 42d12090b34bceefde5d3844846088a883d955d0 (
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
31
32
33
34
35
|
# Maintainer: Dian M Fay <dian.m.fay@gmail.com>
pkgname=pdot-git
pkgver=1.0.0
pkgrel=1
pkgdesc='Explore your PostgreSQL databases with dot or mermaid digraphs'
arch=(x86_64)
url=https://gitlab.com/dmfay/pdot
license=(MPL2)
makedepends=(
git
cargo
)
provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}")
options=(
!lto
)
source=(
"git+https://gitlab.com/dmfay/pdot.git"
)
sha256sums=('SKIP')
build() {
cd "${pkgname%-git}"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --release
}
package() {
cd "${pkgname%-git}"
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/${pkgname%-git}"
}
|