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

Sergej Pupykin spupykin at archlinux.org
Tue Dec 19 10:14:04 UTC 2017


    Date: Tuesday, December 19, 2017 @ 10:14:03
  Author: spupykin
Revision: 274876

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 42 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-19 10:13:50 UTC (rev 274875)
+++ PKGBUILD	2017-12-19 10:14:03 UTC (rev 274876)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
-# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
-
-pkgname=phpvirtualbox
-pkgver=5.0_5
-pkgrel=2
-pkgdesc="PHP/AJAX web interface for VirtualBox 4.*"
-arch=(any)
-url="http://sourceforge.net/projects/phpvirtualbox/"
-license=('GPL')
-depends=('php')
-backup=("etc/webapps/phpvirtualbox/config.php")
-source=(http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-${pkgver/_/-}.zip
-	https://github.com/imoore76/phpvirtualbox/commit/10b6a7383c810dfa6261869cb1f9cc8bca2ad814.patch
-	https://github.com/imoore76/phpvirtualbox/commit/207b1decbb9de27f2c884ecb75f70d78d9820c80.patch
-	https://github.com/imoore76/phpvirtualbox/commit/4e9f9fd85dd2caad6bb7c50a742e1558aee57f77.patch)
-sha256sums=('c80c423fda30e5795872c9b9adc68429deee5726e468729472a573c324303c05'
-            '0b2bad7e69911a251a126cc835ce647b5ec86cd506fe99c984367ec9e885569e'
-            'db51fceccd16de6c959055ed5794e788173894c1a4ac23e064a7f2d467157dea'
-            '308c7652e895c799363c758218a11c8d2c9b5e3f9ee41ffd65b2679be5f1a56c')
-
-prepare() {
-  cd "$srcdir"/${pkgname}-${pkgver/_/-}
-  rm -f endpoints/lib/*.wsdl
-  for p in $(ls -1 $srcdir/*.patch); do
-      patch -p1 <$p
-  done
-  sed -i "s|${pkgver/_/-}|5.1-1|" endpoints/lib/config.php
-}
-
-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 274875, phpvirtualbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-19 10:14:03 UTC (rev 274876)
@@ -0,0 +1,42 @@
+# $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
+}



More information about the arch-commits mailing list