postgresql: switch to /usr.

This commit is contained in:
Juan RP 2012-07-10 09:16:16 +02:00
parent 2f523f74ef
commit 6d85766fb3

View file

@ -1,7 +1,7 @@
# Template file for 'postgresql'
pkgname=postgresql
version=8.4.12
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
--with-pam --datadir=/usr/share/postgresql --enable-thread-safety
@ -41,8 +41,8 @@ postgres_descr="PostgreSQL database server user"
post_install() {
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
vinstall ${FILESDIR}/${pkgname}.service 644 lib/systemd/system
vinstall ${FILESDIR}/${pkgname}-initdb 755 lib/systemd/scripts
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/${pkgname}-initdb 755 usr/lib/systemd/scripts
vinstall ${FILESDIR}/${pkgname}.pam 644 etc/pam.d ${pkgname}
vinstall ${DESTDIR}/usr/share/${pkgname}/${pkgname}.conf.sample \
644 etc/${pkgname} ${pkgname}.conf