diff options
Diffstat (limited to 'main/postgresql')
-rw-r--r-- | main/postgresql/APKBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD index befa024ded..3bad588bd3 100644 --- a/main/postgresql/APKBUILD +++ b/main/postgresql/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postgresql pkgver=9.5.3 -pkgrel=0 +pkgrel=1 pkgdesc="A sophisticated object-relational DBMS" url="http://www.postgresql.org/" arch="all" @@ -74,6 +74,16 @@ package() { "$pkgdir"/etc/conf.d/pg-restore || return 1 } +dev() { + default_dev + mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib/postgresql + mv "$pkgdir"/usr/bin/pg_config \ + "$pkgdir"/usr/bin/ecpg \ + "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/usr/lib/postgresql/pgxs \ + "$subpkgdir"/usr/lib/postgresql/ || return 1 +} + libpq() { depends= pkgdesc="PostgreSQL libraries" |