summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2019-09-17 08:17:40 +0200
committerStefan Auditor2019-09-17 08:17:40 +0200
commit1999a7743b25c285a38a63e576785a836604925a (patch)
treef3f7e1baaea0982a686c23f87ee715fb42f0c695
downloadaur-1999a7743b25c285a38a63e576785a836604925a.tar.gz
initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db9437344cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = drupal-check
+ pkgdesc = Check Drupal code for deprecations and discover bugs via static analysis.
+ pkgver = 1.0.12
+ pkgrel = 1
+ url = https://github.com/mglaman/drupal-check
+ arch = any
+ license = GPL
+ makedepends = php-box
+ makedepends = php-composer
+ makedepends = git
+ depends = php
+ source = drupal-check::git+https://github.com/mglaman/drupal-check.git#tag=1.0.12
+ sha512sums = SKIP
+
+pkgname = drupal-check
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8f545eea272
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
+# Please report issues at https://github.com/sanduhrs/arch-aur-drupal-check
+
+_pkgname=drupal-check
+pkgname=${_pkgname}
+pkgver=1.0.12
+pkgrel=1
+pkgdesc="Check Drupal code for deprecations and discover bugs via static analysis."
+arch=('any')
+url="https://github.com/mglaman/drupal-check"
+license=('GPL')
+depends=('php')
+makedepends=("php-box" "php-composer" "git")
+source=("${_pkgname}::git+${url}.git#tag=${pkgver}")
+sha512sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ php /usr/bin/composer install --prefer-dist
+ ulimit -Sn 2048
+ php -d phar.readonly=Off /usr/bin/php-box build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ install -D -m755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
+}