summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2019-12-02 13:33:53 +0100
committerMassimiliano Torromeo2019-12-02 13:33:53 +0100
commit15222e9b876e911e5c965926480b00aebd577c4b (patch)
tree59030093d5769d40c8a0b59928480ffdf640e6f3
parentec32dbd7022593450942720564824e31d61cefd3 (diff)
downloadaur-15222e9b876e911e5c965926480b00aebd577c4b.tar.gz
Updated to 2.0.4
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 74c3486055d..ea41425f07a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = php-oauth
pkgdesc = PHP extension to provide OAuth consumer and provider bindings.
- pkgver = 2.0.3
+ pkgver = 2.0.4
pkgrel = 1
url = http://www.php.net/manual/en/intro.oauth.php
arch = i686
@@ -8,8 +8,8 @@ pkgbase = php-oauth
license = BSD
depends = php
backup = etc/php/conf.d/oauth.ini
- source = http://pecl.php.net/get/oauth-2.0.3.tgz
- sha256sums = cb4b65bed8854f01bdf741e23f0a27cdc29618d588d8222a7bb0519b0332b4ae
+ source = http://pecl.php.net/get/oauth-2.0.4.tgz
+ sha256sums = 6180266f63afdcaca2f6c8221bd865443175cd4317763a4141909723dd1e5c15
pkgname = php-oauth
diff --git a/PKGBUILD b/PKGBUILD
index 93d73242a77..8d1a7292f70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=php-oauth
_extname=oauth
-pkgver=2.0.3
+pkgver=2.0.4
pkgrel=1
pkgdesc="PHP extension to provide OAuth consumer and provider bindings."
arch=("i686" "x86_64")
@@ -10,7 +10,7 @@ url="http://www.php.net/manual/en/intro.oauth.php"
license=('BSD')
depends=('php')
source=("http://pecl.php.net/get/$_extname-$pkgver.tgz")
-sha256sums=('cb4b65bed8854f01bdf741e23f0a27cdc29618d588d8222a7bb0519b0332b4ae')
+sha256sums=('6180266f63afdcaca2f6c8221bd865443175cd4317763a4141909723dd1e5c15')
backup=("etc/php/conf.d/$_extname.ini")
build() {
@@ -23,10 +23,11 @@ build() {
package() {
cd "$srcdir/$_extname-$pkgver"
+ make INSTALL_ROOT="$pkgdir" install
- install -m0755 -d "$pkgdir/etc/php/conf.d/"
install -m0644 -D "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+
+ install -m0755 -d "$pkgdir/etc/php/conf.d/"
echo "extension=$_extname.so" > "$pkgdir/etc/php/conf.d/$_extname.ini"
chmod 0644 "$pkgdir/etc/php/conf.d/$_extname.ini"
- install -m0755 -D ".libs/$_extname.so" "$pkgdir$(php-config --extension-dir)/$_extname.so"
}