diff options
Diffstat (limited to 'main/postgresql')
-rw-r--r-- | main/postgresql/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD index d7f1a70ed1..8102f629b5 100644 --- a/main/postgresql/APKBUILD +++ b/main/postgresql/APKBUILD @@ -13,8 +13,8 @@ pkggroups="postgres" depends_dev="libressl-dev" makedepends="$depends_dev libedit-dev zlib-dev libxml2-dev util-linux-dev openldap-dev" -subpackages="$pkgname-dev $pkgname-doc libpq $pkgname-libs $pkgname-client - $pkgname-contrib" +subpackages="$pkgname-contrib $pkgname-dev $pkgname-doc libpq $pkgname-libs + $pkgname-client" patches="initdb.patch" source="ftp://ftp.$pkgname.org/pub/source/v$pkgver/$pkgname-$pkgver.tar.bz2 $patches @@ -112,6 +112,10 @@ contrib() { cd "$builddir" make DESTDIR="$subpkgdir" -C contrib install || return 1 + + mv "$subpkgdir"/usr/share/doc/postgresql/extension \ + "$pkgdir"/usr/share/doc/postgresql/ || return 1 + rmdir -p "$subpkgdir"/usr/share/doc/postgresql || true } md5sums="92ae6d7cdf18e648b3c22d0aa015565d postgresql-9.6.1.tar.bz2 |