summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2016-01-04 14:25:13 +0100
committerStefan Auditor2016-01-04 14:25:13 +0100
commite5ae0f371f5231137f8b453b9a5dd0648ed29e7c (patch)
treef04c225fec8df10831f1c2f0c9c490f65ae0e91a
parentf2e3eedb35a778b4c741a34e6bf185b65cca963c (diff)
downloadaur-e5ae0f371f5231137f8b453b9a5dd0648ed29e7c.tar.gz
Adjust package to follow PHP 7 packaging changes
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--phpunit-skeleton-generator.install8
3 files changed, 4 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bfc9d5a4030..89654532ac6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+# Generated by mksrcinfo v8
+# Mon Jan 4 13:24:57 UTC 2016
pkgbase = phpunit-skeleton-generator
pkgdesc = A tool that can generate skeleton test classes from production code classes and vice versa.
pkgver = 2.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/sebastianbergmann/phpunit-skeleton-generator
- install = phpunit-skeleton-generator.install
arch = any
license = BSD
depends = php
diff --git a/PKGBUILD b/PKGBUILD
index 11b48b3196e..3fea8c3242a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,12 @@
pkgname=phpunit-skeleton-generator
_pkgname=phpunit-skelgen
pkgver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A tool that can generate skeleton test classes from production code classes and vice versa."
url="https://github.com/sebastianbergmann/phpunit-skeleton-generator"
arch=("any")
license=("BSD")
depends=("php")
-install="${pkgname}.install"
source=("https://phar.phpunit.de/${_pkgname}-${pkgver}.phar"
"https://raw.githubusercontent.com/sebastianbergmann/${pkgname}/${pkgver}/LICENSE")
sha512sums=('7b15ffafb4083f416fcde3c486a7333ac0d8b14c20e7478d6f9222754fed9680a1db56bd4d198481fc769b87e335510b69ada4f98f5c47a4eb6528cf0dc35e4c'
diff --git a/phpunit-skeleton-generator.install b/phpunit-skeleton-generator.install
deleted file mode 100644
index cfb1610c9ad..00000000000
--- a/phpunit-skeleton-generator.install
+++ /dev/null
@@ -1,8 +0,0 @@
-post_install() {
- echo
- echo "Warning: phar.so must be enabled in your php.ini"
-}
-
-post_upgrade() {
- post_install
-}