[arch-commits] Commit in phpvirtualbox/repos/community-any (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Wed Dec 20 08:48:38 UTC 2017


    Date: Wednesday, December 20, 2017 @ 08:48:37
  Author: spupykin
Revision: 274979

archrelease: copy trunk to community-any

Added:
  phpvirtualbox/repos/community-any/PKGBUILD
    (from rev 274978, phpvirtualbox/trunk/PKGBUILD)
Deleted:
  phpvirtualbox/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-20 08:48:22 UTC (rev 274978)
+++ PKGBUILD	2017-12-20 08:48:37 UTC (rev 274979)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
-# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
-
-pkgname=phpvirtualbox
-pkgver=5.2_0rc1
-_pkgver=${pkgver/_/-}
-_pkgver=${_pkgver/rc/-rc}
-pkgrel=1
-pkgdesc="PHP/AJAX web interface for VirtualBox 4.*"
-arch=(any)
-url="https://github.com/phpvirtualbox/phpvirtualbox"
-license=('GPL')
-depends=('php')
-backup=("etc/webapps/phpvirtualbox/config.php")
-source=(https://github.com/phpvirtualbox/phpvirtualbox/archive/${_pkgver}.tar.gz)
-sha256sums=('519979ef23ac371a93e5ee52662a099691d2131423319d5376b01f6132c22f8f')
-
-prepare() {
-  cd "$srcdir"/${pkgname}-${_pkgver}
-  rm -f endpoints/lib/*.wsdl
-}
-
-package() {
-  cd "$srcdir"/${pkgname}-${_pkgver}
-
-  mkdir -p "$pkgdir"/etc/webapps/phpvirtualbox
-  install -D -m644 config.php-example "$pkgdir"/etc/webapps/phpvirtualbox/config.php
-
-  # Apache configuration
-  cat > "$pkgdir"/etc/webapps/phpvirtualbox/apache.example.conf <<EOF
-  Alias /phpvirtualbox "/usr/share/webapps/phpvirtualbox"
-  <Directory "/usr/share/webapps/phpvirtualbox">
-    Options FollowSymlinks
-    AllowOverride All
-    Require all granted
-  </Directory>
-EOF
-
-  find . -type f -exec install -D -m644 {,"$pkgdir"/usr/share/webapps/${pkgname}/}{} \;
-  ln -s /etc/webapps/phpvirtualbox/config.php "$pkgdir"/usr/share/webapps/phpvirtualbox/config.php
-}

Copied: phpvirtualbox/repos/community-any/PKGBUILD (from rev 274978, phpvirtualbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-20 08:48:37 UTC (rev 274979)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
+# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
+
+pkgname=phpvirtualbox
+pkgver=5.2_0rc1
+_pkgver=${pkgver/_/-}
+_pkgver=${_pkgver/rc/-rc}
+pkgrel=2
+pkgdesc="PHP/AJAX web interface for VirtualBox 4.*"
+arch=(any)
+url="https://github.com/phpvirtualbox/phpvirtualbox"
+license=('GPL')
+depends=('php')
+backup=("etc/webapps/phpvirtualbox/config.php")
+source=(https://github.com/phpvirtualbox/phpvirtualbox/archive/${_pkgver}.tar.gz)
+sha256sums=('519979ef23ac371a93e5ee52662a099691d2131423319d5376b01f6132c22f8f')
+
+package() {
+  cd "$srcdir"/${pkgname}-${_pkgver}
+
+  mkdir -p "$pkgdir"/etc/webapps/phpvirtualbox
+  install -D -m644 config.php-example "$pkgdir"/etc/webapps/phpvirtualbox/config.php
+
+  # Apache configuration
+  cat > "$pkgdir"/etc/webapps/phpvirtualbox/apache.example.conf <<EOF
+  Alias /phpvirtualbox "/usr/share/webapps/phpvirtualbox"
+  <Directory "/usr/share/webapps/phpvirtualbox">
+    Options FollowSymlinks
+    AllowOverride All
+    Require all granted
+  </Directory>
+EOF
+
+  find . -type f -exec install -D -m644 {,"$pkgdir"/usr/share/webapps/${pkgname}/}{} \;
+  ln -s /etc/webapps/phpvirtualbox/config.php "$pkgdir"/usr/share/webapps/phpvirtualbox/config.php
+}



More information about the arch-commits mailing list