# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka setvar pkgname = 'postgresql-orafce' setvar _pkgname = 'orafce' setvar pkgver = '3.4.0' setvar _pkgver = "VERSION_${pkgver//./_}" setvar pkgrel = '0' setvar pkgdesc = ""Oracle's compatibility functions and packages for PostgreSQL"" setvar url = ""https://github.com/orafce/orafce"" setvar arch = ""all"" setvar license = ""BSD"" setvar depends = ""postgresql"" setvar makedepends = ""bison flex postgresql-dev"" setvar subpackages = ""$pkgname-doc"" setvar source = ""$pkgname-$pkgver.tar.gz::https://github.com/orafce/$_pkgname/archive/$_pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgname-$_pkgver"" setvar options = ""!check"" # XXX: installcheck requires running PostgreSQL proc build { cd $builddir make USE_PGXS=1 all } proc package { cd $builddir make USE_PGXS=1 DESTDIR="$pkgdir" install cd $pkgdir mv ./usr/share/doc/postgresql/extension \ ./usr/share/doc/$pkgname rmdir ./usr/share/doc/postgresql } setvar sha512sums = ""576fd6d818528d6fa980a911b355fe31b131d87f5d758a78eab4f9c47546d039ae93ca6ac253312b3828da91147ae8c852685ed312a5f9ad02b8fc53b55a9e42 postgresql-orafce-3.4.0.tar.gz""