blob: e7840a55388b6707b75e576f735e3b744c245ebd (
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
|
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=explain
pkgver=1.5.0
pkgrel=1
pkgdesc='Transform postgresql explain to a graph'
url="https://github.com/sanpii/$pkgname"
arch=('x86_64')
license=('MIT')
depends=()
optdepends=('graphviz' 'postgresql')
makedepends=('cargo')
source=("$url/archive/$pkgver.tar.gz")
sha256sums=('1a8807aa8096a3396b130ec99dff777df2ca3f013c72ab7901c850cd82559ecf')
build()
{
cd "$pkgname-$pkgver"
make
}
package()
{
cd "$pkgname-$pkgver"
make install PREFIX="$pkgdir/usr"
install -Dm 644 docs/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|