diff options
author | Stefan Auditor | 2015-07-20 10:52:43 +0200 |
---|---|---|
committer | Stefan Auditor | 2015-07-20 10:52:43 +0200 |
commit | 0c3927a5b9f1043bf7afdd86a39e5f4a79985e69 (patch) | |
tree | 5acc0aafcc0b6f95f8453151ee6f683d45cdcddd | |
parent | bda58f51d8d7f4c9af8851eb20fdc4ef1989d33d (diff) | |
download | aur-0c3927a5b9f1043bf7afdd86a39e5f4a79985e69.tar.gz |
Add install hook
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | phploc.install | 8 |
3 files changed, 14 insertions, 2 deletions
@@ -8,8 +8,10 @@ pkgbase = phploc depends = php source = https://phar.phpunit.de/phploc-2.1.3.phar source = https://raw.githubusercontent.com/sebastianbergmann/phploc/2.1.3/LICENSE + source = phploc.install md5sums = 4304b744b31f44d5f476b2654caaade5 md5sums = 9efd7ec2636b1412c93a29f62c9a4e0b + md5sums = 4b2b590f00765d9abdeebe5b0a100ed8 pkgname = phploc @@ -9,9 +9,11 @@ arch=('any') license=('BSD') depends=('php') source=("https://phar.phpunit.de/phploc-${pkgver}.phar" - "https://raw.githubusercontent.com/sebastianbergmann/phploc/${pkgver}/LICENSE") + "https://raw.githubusercontent.com/sebastianbergmann/phploc/${pkgver}/LICENSE" + "phploc.install") md5sums=('4304b744b31f44d5f476b2654caaade5' - '9efd7ec2636b1412c93a29f62c9a4e0b') + '9efd7ec2636b1412c93a29f62c9a4e0b' + '4b2b590f00765d9abdeebe5b0a100ed8') package() { install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" diff --git a/phploc.install b/phploc.install new file mode 100644 index 000000000000..cfb1610c9ad7 --- /dev/null +++ b/phploc.install @@ -0,0 +1,8 @@ +post_install() { + echo + echo "Warning: phar.so must be enabled in your php.ini" +} + +post_upgrade() { + post_install +} |