blob: ef9654ca8ce357a32678ea47a356a03d2037871a (
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
|
pkgname=pguri
pkgver=1.20151224
pkgrel=11
pkgdesc="uri data type for PostgreSQL"
arch=('x86_64')
url="https://github.com/petere/pguri/"
license=('MIT')
makedepends=('clang15' 'llvm15')
depends=('postgresql>16' 'postgresql<17' 'uriparser')
source=(${url}archive/${pkgver}.tar.gz)
b2sums=('3df2f93a2f21bbe2c492aeac47adb2451c20ea2c7c0639c82b086621f8425ec12db08229e73d1271752bf62143282c2b2cf48973871c0fec8c3fccc293481383')
build() {
cd $pkgname-$pkgver
make PG_CPPFLAGS=-Wno-int-conversion
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/pguri/LICENSE"
}
|