[arch-commits] Commit in phpvirtualbox/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Mar 24 14:41:41 UTC 2020
Date: Tuesday, March 24, 2020 @ 14:41:41
Author: spupykin
Revision: 603862
archrelease: copy trunk to community-any
Added:
phpvirtualbox/repos/community-any/PKGBUILD
(from rev 603861, phpvirtualbox/trunk/PKGBUILD)
Deleted:
phpvirtualbox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-24 14:41:33 UTC (rev 603861)
+++ PKGBUILD 2020-03-24 14:41:41 UTC (rev 603862)
@@ -1,36 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
-# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
-
-pkgname=phpvirtualbox
-pkgver=5.2_1
-_pkgver=${pkgver/_/-}
-_pkgver=${_pkgver/rc/-rc}
-pkgrel=1
-pkgdesc="PHP/AJAX web interface for VirtualBox"
-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=('a7d172dfd9b73f1c8f6ebe5bc98d3ae1fb12395350ac3b932cb811658fc88521')
-
-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 603861, phpvirtualbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-24 14:41:41 UTC (rev 603862)
@@ -0,0 +1,40 @@
+# Maintainer: Sergej Pupykin <pupykin.s at gmail.com>
+# Contributor:Techlive Zheng <techlivezheng at gmail dot com>
+
+pkgname=phpvirtualbox
+pkgver=5.2_1
+_pkgver=${pkgver/_/-}
+_pkgver=${_pkgver/rc/-rc}
+_commit=3889ccb6d25015063c01aacc941d518e9f4f0a71
+pkgrel=2
+pkgdesc="PHP/AJAX web interface for VirtualBox"
+arch=(any)
+url="https://github.com/phpvirtualbox/phpvirtualbox"
+license=('GPL')
+depends=('php')
+makedepends=('git')
+backup=("etc/webapps/phpvirtualbox/config.php")
+#source=("https://github.com/phpvirtualbox/phpvirtualbox/archive/${_pkgver}.tar.gz")
+source=("git+https://github.com/phpvirtualbox/phpvirtualbox.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+package() {
+# cd "$srcdir"/${pkgname}-${_pkgver}
+ cd "$srcdir"/${pkgname}
+
+ 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