[arch-commits] Commit in postfixadmin/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Feb 14 23:07:37 UTC 2017
Date: Tuesday, February 14, 2017 @ 23:07:36
Author: svenstaro
Revision: 212471
archrelease: copy trunk to community-any
Added:
postfixadmin/repos/community-any/PKGBUILD
(from rev 212470, postfixadmin/trunk/PKGBUILD)
Deleted:
postfixadmin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-14 23:07:21 UTC (rev 212470)
+++ PKGBUILD 2017-02-14 23:07:36 UTC (rev 212471)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Filip <fila pruda.com>
-pkgname=postfixadmin
-pkgver=3.0
-pkgrel=1
-pkgdesc="A web based interface used to manage mailboxes, virtual domains and aliases created for Postfix"
-arch=('any')
-license=('GPL')
-url="http://postfixadmin.sourceforge.net/"
-backup=(etc/webapps/postfixadmin/config.inc.php
- etc/webapps/postfixadmin/.htaccess)
-depends=('php')
-optdepends=('mariadb: MySQL server'
- 'postgresql: PostgreSQL server')
-source=(http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-3.0/postfixadmin-3.0.tar.gz)
-md5sums=('9eade7ea5c5fd405d5843700d0e29c0b')
-
-package() {
- _destdir=$pkgdir/usr/share/webapps/postfixAdmin
- _destdir_etc=$pkgdir/etc/webapps/postfixadmin
- _destdir_doc=$pkgdir/usr/share/doc/postfixadmin
-
- install -dm755 ${_destdir}
- install -dm755 ${_destdir_etc}
- install -dm755 ${_destdir_doc}
-
- cd $srcdir/$pkgname-$pkgver
- cp -r * ${_destdir}
-
- # config
- mv ${_destdir}/config.inc.php ${_destdir_etc}
- ln -s /etc/webapps/postfixadmin/config.inc.php ${_destdir}/config.inc.php
- echo "#Require all denied" >${_destdir_etc}/.htaccess
- ln -s /etc/webapps/postfixadmin/.htaccess ${_destdir}/.htaccess
-
- # template cache needs to be writeable
- chown http:http ${_destdir}/templates_c
-
- # docs
- mv ${_destdir}/{*.TXT,tests,ADDITIONS,DOCUMENTS,VIRTUAL_VACATION} ${_destdir_doc}
- rm -rf ${_destdir}/debian
-}
Copied: postfixadmin/repos/community-any/PKGBUILD (from rev 212470, postfixadmin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-14 23:07:36 UTC (rev 212471)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Filip <fila pruda.com>
+pkgname=postfixadmin
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="A web based interface used to manage mailboxes, virtual domains and aliases created for Postfix"
+arch=('any')
+license=('GPL')
+url="http://postfixadmin.sourceforge.net/"
+backup=(etc/webapps/postfixadmin/config.inc.php
+ etc/webapps/postfixadmin/.htaccess)
+depends=('php')
+optdepends=('mariadb: MySQL server'
+ 'postgresql: PostgreSQL server')
+source=("https://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-${pkgver}/postfixadmin-${pkgver}.tar.gz")
+sha512sums=('19db70cc59e8e41356e4cd632b0cb9df8d8de0f0451e7e2c84d61a0aa6ede5cc93bbf8914786a2eec012e4c013ad130a001d143ce869aa54b54a50fb798ed92b')
+
+package() {
+ _destdir=$pkgdir/usr/share/webapps/postfixAdmin
+ _destdir_etc=$pkgdir/etc/webapps/postfixadmin
+ _destdir_doc=$pkgdir/usr/share/doc/postfixadmin
+
+ install -dm755 ${_destdir}
+ install -dm755 ${_destdir_etc}
+ install -dm755 ${_destdir_doc}
+
+ cd $srcdir/$pkgname-$pkgver
+ cp -r * ${_destdir}
+
+ # config
+ mv ${_destdir}/config.inc.php ${_destdir_etc}
+ ln -s /etc/webapps/postfixadmin/config.inc.php ${_destdir}/config.inc.php
+ echo "#Require all denied" >${_destdir_etc}/.htaccess
+ ln -s /etc/webapps/postfixadmin/.htaccess ${_destdir}/.htaccess
+
+ # template cache needs to be writeable
+ chown http:http ${_destdir}/templates_c
+
+ # docs
+ mv ${_destdir}/{*.TXT,tests,ADDITIONS,DOCUMENTS,VIRTUAL_VACATION} ${_destdir_doc}
+ rm -rf ${_destdir}/debian
+}
More information about the arch-commits
mailing list