summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
2 files changed, 15 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 70d8b90f4bd..692e7a71e9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = php-msgpack
pkgdesc = PHP extension for interfacing with MessagePack
- pkgver = 2.0.2
- pkgrel = 2
+ pkgver = 2.1.0
+ pkgrel = 1
url = http://msgpack.org/
arch = i686
arch = x86_64
license = New BSD
depends = php
backup = etc/php/conf.d/msgpack.ini
- source = http://pecl.php.net/get/msgpack-2.0.2.tgz
- sha256sums = b04980df250214419d9c3d9a5cb2761047ddf5effe5bc1481a19fee209041c01
+ source = https://pecl.php.net/get/msgpack-2.1.0.tgz
+ md5sums = 901960fda542dec313ab4d89bd63d06d
pkgname = php-msgpack
diff --git a/PKGBUILD b/PKGBUILD
index 0c16ffb3a1f..d81e73ccb8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,23 @@
-# Maintainer: 吕海涛 <aur@lvht.net>
+# Maintainer:
+# Contributor: Felix Golatofski <contact@xdfr.de>
+# Contributor: 吕海涛 <aur@lvht.net>
pkgname=php-msgpack
_extname=msgpack
-pkgver=2.0.2
-pkgrel=2
+pkgver=2.1.0
+pkgrel=1
pkgdesc="PHP extension for interfacing with MessagePack"
arch=("i686" "x86_64")
-url="http://msgpack.org/"
license=('New BSD')
+url="http://msgpack.org/"
depends=('php')
-source=("http://pecl.php.net/get/$_extname-$pkgver.tgz")
backup=("etc/php/conf.d/$_extname.ini")
-packager="吕海涛 <aur@lvht.net>"
+source=("https://pecl.php.net/get/$_extname-$pkgver.tgz")
+md5sums=('901960fda542dec313ab4d89bd63d06d')
build() {
cd "$srcdir/$_extname-$pkgver"
+
phpize
./configure
make
@@ -22,11 +25,11 @@ build() {
package() {
cd "$srcdir/$_extname-$pkgver"
+
+ make install INSTALL_ROOT="${pkgdir}"
install -m0755 -d "$pkgdir/etc/php/conf.d/"
install -m0644 -D "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
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"
}
-
-sha256sums=('b04980df250214419d9c3d9a5cb2761047ddf5effe5bc1481a19fee209041c01')