summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-04-24 12:56:56 +0300
committerDimitris Kiziridis2020-04-24 12:56:56 +0300
commit9f90b8a8d8beef32beedb7f5cebc8f795dd9843d (patch)
treeda7d65a2677dc870a2fe4b4687e5f0d401bddf30
parent6b019defc5da0f3980e9a558e3faa7ab5883328c (diff)
downloadaur-9f90b8a8d8beef32beedb7f5cebc8f795dd9843d.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
-rw-r--r--grav.install (renamed from post_install)0
3 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfada4bfa104..c31063f95826 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgbase = grav
pkgver = 1.6.22
pkgrel = 1
url = https://getgrav.org
- install = post_install
+ install = grav.install
arch = any
license = MIT
depends = php>=7.1.3
@@ -15,9 +15,7 @@ pkgbase = grav
optdepends = nginx: Lightweight HTTP server and IMAP/POP3 proxy server
provides = grav
source = https://github.com/getgrav/grav/releases/download/1.6.22/grav-v1.6.22.zip
- source = post_install
sha256sums = e3c84bb2a7a35dea3c0f430f097498e560074da9cfe9d89418a24b7b4f3a4072
- sha256sums = 96ae16816f0032c12d45e7fa912ec275e8ca6735aef6e0d7e7fe5e30d36181ab
pkgname = grav
diff --git a/PKGBUILD b/PKGBUILD
index d1637f4064df..5e8cba8f17b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,9 @@ optdepends=('php-apcu: A userland caching module for PHP'
'xdebug: PHP debugging extension'
'apache: A high performance Unix-based HTTP server'
'nginx: Lightweight HTTP server and IMAP/POP3 proxy server')
-install=post_install
-source=("https://github.com/getgrav/grav/releases/download/${pkgver}/${pkgname}-v${pkgver}.zip"
- 'post_install')
-sha256sums=('e3c84bb2a7a35dea3c0f430f097498e560074da9cfe9d89418a24b7b4f3a4072'
- '96ae16816f0032c12d45e7fa912ec275e8ca6735aef6e0d7e7fe5e30d36181ab')
+install=grav.install
+source=("https://github.com/getgrav/grav/releases/download/${pkgver}/${pkgname}-v${pkgver}.zip")
+sha256sums=('e3c84bb2a7a35dea3c0f430f097498e560074da9cfe9d89418a24b7b4f3a4072')
package() {
cd "${pkgdir}"
diff --git a/post_install b/grav.install
index 2b7d7ad857a7..2b7d7ad857a7 100644
--- a/post_install
+++ b/grav.install