summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d75716b57b822afe80469047f5b8650cc89d308d (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
# Maintainer: Iliya Ivanov <aur@proforge.org>

pkgname=pg_show_plans
pkgver=2.1.2

pkgrel=1
pkgdesc="Shows the query plans of all currently running SQL statements"
arch=('x86_64')
url="https://www.cybertec-postgresql.com/en/products/pg-show-plans/"
license=('The PostgreSQL Licence')
depends=('postgresql')
makedepends=('clang')
source=("https://github.com/cybertec-postgresql/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('fb8a23163e7f95adda919c45cb86537ea47a3489244b7c44980164b790ec625d')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	export USE_PGXS=1
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	export USE_PGXS=1
	export DESTDIR="${pkgdir}"
	make install
}