summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bed9f4f49a6e709617e26e4b11ec7f4078f19f47 (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: Graham Edgecombe <gpe@grahamedgecombe.com>
pkgname=postgresql-uint-git
pkgver=r72.378a440
pkgrel=1
pkgdesc="Unsigned integer types extension for PostgreSQL"
arch=('i686' 'x86_64')
url="https://github.com/petere/pguint"
license=('unknown')
depends=('postgresql')
conflicts=('postgresql-uint')
provides=('postgresql-uint')
source=("$pkgname"::'git+https://github.com/petere/pguint')
sha256sums=('SKIP')

pkgver() {
    cd "$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$pkgname"
	make
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir/" install
}