diff options
author | Stefan Auditor | 2016-01-04 13:50:34 +0100 |
---|---|---|
committer | Stefan Auditor | 2016-01-04 13:50:34 +0100 |
commit | f303d8a0e4d2e8f56122f8656a63e1ab21d53858 (patch) | |
tree | 2119bc77bef3d400268da0176703c518d8d72c3d | |
parent | 6df79e1671233b77f0bc24f20216e98e1711a689 (diff) | |
download | aur-f303d8a0e4d2e8f56122f8656a63e1ab21d53858.tar.gz |
Adjust package to follow PHP 7 packaging changes
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | phploc.install | 8 |
3 files changed, 6 insertions, 18 deletions
@@ -1,18 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Jan 4 12:49:57 UTC 2016 pkgbase = phploc pkgdesc = A tool for quickly measuring the size of a PHP project pkgver = 2.1.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/sebastianbergmann/phploc - install = phploc.install arch = any license = BSD depends = php source = https://phar.phpunit.de/phploc-2.1.5.phar source = https://raw.githubusercontent.com/sebastianbergmann/phploc/2.1.5/LICENSE - source = phploc.install sha512sums = 99f5fe35a78b6a333fda0d38779ece0d3cb83fa9e3f858869d8c1047beb076042cbe246b52d8c46978ab24027fbe585bb1d60a8b07fae555939108f03ac30123 sha512sums = 380f398cc2c10a9e76d39a8f1ce60e367e39a1b3ac4bedab2d6aae7d964d11554cf40fcad3362f80fa4f43aa255f3fb990eece094d016e0167ebd75ae6d0d277 - sha512sums = 5144d60d89677bda0dfef947b9a89428393d7cdba926b1b1a790223637d42c2558fb768039b2f00dcf1226eba89f5679902670f07be2add85fa9a0b5fd320538 pkgname = phploc @@ -2,19 +2,16 @@ # Contributor: Joris Steyn <jorissteyn@gmail.com> pkgname=phploc pkgver=2.1.5 -pkgrel=1 +pkgrel=2 pkgdesc="A tool for quickly measuring the size of a PHP project" url="https://github.com/sebastianbergmann/phploc" 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" - "${pkgname}.install") + "https://raw.githubusercontent.com/sebastianbergmann/${pkgname}/${pkgver}/LICENSE") sha512sums=('99f5fe35a78b6a333fda0d38779ece0d3cb83fa9e3f858869d8c1047beb076042cbe246b52d8c46978ab24027fbe585bb1d60a8b07fae555939108f03ac30123' - '380f398cc2c10a9e76d39a8f1ce60e367e39a1b3ac4bedab2d6aae7d964d11554cf40fcad3362f80fa4f43aa255f3fb990eece094d016e0167ebd75ae6d0d277' - '5144d60d89677bda0dfef947b9a89428393d7cdba926b1b1a790223637d42c2558fb768039b2f00dcf1226eba89f5679902670f07be2add85fa9a0b5fd320538') + '380f398cc2c10a9e76d39a8f1ce60e367e39a1b3ac4bedab2d6aae7d964d11554cf40fcad3362f80fa4f43aa255f3fb990eece094d016e0167ebd75ae6d0d277') package() { install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" diff --git a/phploc.install b/phploc.install deleted file mode 100644 index cfb1610c9ad7..000000000000 --- a/phploc.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 -} |