summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44c356be4e04961650f66dd5b9ff8b0df7d9d31d (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: Sean Anderson <seanga2@gmail.com>
pkgname=pg_ivm
pkgver=1.9
pkgrel=1
pkgdesc="IVM (Incremental View Maintenance) implementation as a PostgreSQL extension "
arch=(x86_64)
url="https://github.com/sraoss/pg_ivm"
license=('custom:PostgreSQL')
groups=()
depends=(postgresql)
changelog=
source=("https://github.com/sraoss/pg_ivm/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('4e2b1b0d0d2b3e35ee44f121c376432abfc8cd76aed44d9416008b4d1dc7345e0e06b8bb5cd150706b93bbb3e6fd8f46edae45cd640ae32998e319195da6ede0')

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
}