diff options
author | Johannes Dewender | 2015-06-06 12:25:27 +0200 |
---|---|---|
committer | Johannes Dewender | 2015-06-06 12:25:27 +0200 |
commit | 03e96cb7859580692421e515a67111b754b21202 (patch) | |
tree | c93093e5ffdddc5d875a0a0c1b0b068f81947fb6 | |
download | aur-03e96cb7859580692421e515a67111b754b21202.tar.gz |
add php-requests as 1.6.1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e74a4f76e866 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = php-requests + pkgdesc = PHP library to access MusicBrainz's Web Service v2 + pkgver = 1.6.1 + pkgrel = 1 + url = http://requests.ryanmccue.info/ + arch = any + license = custom:ISC + depends = php>=5.2 + source = https://github.com/rmccue/Requests/archive/v1.6.1.tar.gz + sha256sums = ec456cb7781e5bb81768d5e534952562b697172db1af651112f044ad8cf5afd5 + +pkgname = php-requests + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..bd9b4a41adc0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.tar.gz +*.tar.xz +*.tgz +*.rpm +*.zip +*.bz2 +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..33c2a1495048 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Constributor: Johannes Dewender arch at JonnyJD dot net +pkgname=('php-requests') +_pkgname=Requests +pkgver=1.6.1 +pkgrel=1 +pkgdesc="PHP library to access MusicBrainz's Web Service v2" +arch=('any') +url="http://requests.ryanmccue.info/" +license=('custom:ISC') +depends=('php>=5.2') + +source=(https://github.com/rmccue/$_pkgname/archive/v$pkgver.tar.gz) +sha256sums=('ec456cb7781e5bb81768d5e534952562b697172db1af651112f044ad8cf5afd5') + +package() { + cd "$srcdir/$_pkgname-$pkgver" + mkdir -p $pkgdir/usr/share/pear/ + cp -r library/Requests library/Requests.php $pkgdir/usr/share/pear/ + mkdir -p $pkgdir/usr/share/licenses/$pkgname + cp LICENSE $pkgdir/usr/share/licenses/$pkgname/ +} + +# vim:set ts=2 sw=2 et: |