diff options
author | James An | 2017-02-18 22:34:04 -0500 |
---|---|---|
committer | James An | 2017-02-18 22:34:45 -0500 |
commit | d660e97aae77e1e6f13f216b8cf7b28bb0053031 (patch) | |
tree | f1883d065aeb75632ad0547ce57f706c2249c87d | |
parent | 18a09d1732d758e1a3d7202e2874defaa858235c (diff) | |
download | aur-d660e97aae77e1e6f13f216b8cf7b28bb0053031.tar.gz |
Factored out optional dependency on the LetsEncrypt client, dehydrated, to use if installed in the system.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 7 deletions
@@ -1,16 +1,17 @@ pkgbase = aegir-hostmaster pkgdesc = mass Drupal hosting system - frontend pkgver = 7.x_3.9 - pkgrel = 1 + pkgrel = 2 url = http://aegirproject.org arch = any license = GPL + makedepends = git depends = drush>=7 + optdepends = dehydrated source = https://ftp.drupal.org/files/projects/hostmaster-7.x-3.9-no-core.tar.gz source = https://ftp.drupal.org/files/projects/devel_debug_log-7.x-1.2.tar.gz source = https://ftp.drupal.org/files/projects/devel-7.x-1.5.tar.gz source = https://ftp.drupal.org/files/projects/drupal-7.53.tar.gz - source = https://github.com/lukas2511/dehydrated/archive/master.tar.gz source = hosting_https::git+https://gitlab.com/aegir/hosting_https.git source = hosting_https-pkg-info.patch source = hosting-hook_hosting_TASK_OBJECT_context_options-2846897-2.patch @@ -18,7 +19,6 @@ pkgbase = aegir-hostmaster md5sums = 19561aa1a0f2e549acf5c44a8cad8e14 md5sums = f06c912eb4edbd48fbcc2867516726a3 md5sums = 4230279ecca4f0cde652a219e10327e7 - md5sums = 62f0351d36f900884705207922d5c7d5 md5sums = SKIP md5sums = da16dba10759dfa59c7d760419f3f042 md5sums = faa872c26a49c62d841574ae10a43a20 @@ -3,18 +3,18 @@ pkgname=aegir-hostmaster _pkgname=${pkgname#aegir-} pkgver=7.x_3.9 -pkgrel=1 +pkgrel=2 pkgdesc="mass Drupal hosting system - frontend" arch=('any') url='http://aegirproject.org' license=('GPL') depends=('drush>=7') makedepends=('git') +optdepends=('dehydrated') source=("https://ftp.drupal.org/files/projects/$_pkgname-${pkgver//_/-}-no-core.tar.gz" 'https://ftp.drupal.org/files/projects/devel_debug_log-7.x-1.2.tar.gz' 'https://ftp.drupal.org/files/projects/devel-7.x-1.5.tar.gz' 'https://ftp.drupal.org/files/projects/drupal-7.53.tar.gz' - 'https://github.com/lukas2511/dehydrated/archive/master.tar.gz' 'hosting_https'::'git+https://gitlab.com/aegir/hosting_https.git' hosting_https-pkg-info.patch hosting-hook_hosting_TASK_OBJECT_context_options-2846897-2.patch) @@ -22,7 +22,6 @@ md5sums=('6d27c8b0de71db7c6e2b041da25c5fef' '19561aa1a0f2e549acf5c44a8cad8e14' 'f06c912eb4edbd48fbcc2867516726a3' '4230279ecca4f0cde652a219e10327e7' - '62f0351d36f900884705207922d5c7d5' 'SKIP' 'da16dba10759dfa59c7d760419f3f042' 'faa872c26a49c62d841574ae10a43a20') @@ -41,7 +40,7 @@ package() { ln -s "/var/lib/$_pkgname/sites" "$pkgdir/usr/share/webapps/$_pkgname" cp -a devel devel_debug_log "$pkgdir/var/lib/$_pkgname/sites/all/modules" cp -aT hosting_https "$pkgdir/var/lib/$_pkgname/sites/all/modules/hosting_https" - cp -aT dehydrated-master "$pkgdir/var/lib/$_pkgname/sites/all/modules/hosting_https/submodules/letsencrypt/drush/bin/letsencrypt" + ln -s /usr/bin/dehydrated "$pkgdir/var/lib/$_pkgname/sites/all/modules/hosting_https/submodules/letsencrypt/drush/bin/letsencrypt" install -D <( ) "$pkgdir/var/lib/$_pkgname/sites/all/drush/drushrc.php" install -D <( ) "$pkgdir/var/lib/$_pkgname/sites/sites.php" |