diff options
author | Stefan Auditor | 2015-07-16 16:58:09 +0200 |
---|---|---|
committer | Stefan Auditor | 2015-07-16 16:58:09 +0200 |
commit | 74de2261dd994f9153d2b2362fa22c184dc7cb97 (patch) | |
tree | d1f3f4cd9835340e2ad7e53c279a38e438d70736 | |
download | aur-74de2261dd994f9153d2b2362fa22c184dc7cb97.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a8c666ff523c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = phploc + pkgdesc = A tool for quickly measuring the size of a PHP project + pkgver = 2.1.3 + pkgrel = 1 + url = https://github.com/sebastianbergmann/phploc + arch = any + license = BSD + depends = php + source = https://phar.phpunit.de/phploc-2.1.3.phar + md5sums = 4304b744b31f44d5f476b2654caaade5 + +pkgname = phploc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f005687958f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de> +pkgname=phploc +pkgver=2.1.3 +pkgrel=1 +pkgdesc='A tool for quickly measuring the size of a PHP project' +url="https://github.com/sebastianbergmann/phploc" +arch=('any') +license=('BSD') +depends=('php') +source=("https://phar.phpunit.de/phploc-${pkgver}.phar") +md5sums=('4304b744b31f44d5f476b2654caaade5') + +package() { + install -D -m 755 "${srcdir}/phploc-${pkgver}.phar" "${pkgdir}/usr/share/webapps/bin/phploc.phar" + install -d "${pkgdir}/usr/bin" + ln -s /usr/share/webapps/bin/phploc.phar "${pkgdir}/usr/bin/phploc" +} |