diff options
author | KokaKiwi | 2023-07-31 17:40:39 +0200 |
---|---|---|
committer | KokaKiwi | 2023-07-31 17:40:39 +0200 |
commit | 2e2c91630482f8257842e8647947b0b7950530b8 (patch) | |
tree | de8a454a77a3b4568835f929b215f43e4cb876d0 | |
parent | dbb7ec75e9e3a3f0e03e84ff93a3b21593e79f7d (diff) | |
download | aur-2e2c91630482f8257842e8647947b0b7950530b8.tar.gz |
upgpkg: php-luasandbox 4.1.1-1
upstream release
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 16 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = php-luasandbox pkgdesc = PHP extension that provides a sandboxed environment to run Lua scripts in - pkgver = 4.1.0 + pkgver = 4.1.1 pkgrel = 1 url = https://www.mediawiki.org/wiki/LuaSandbox arch = i686 @@ -8,8 +8,8 @@ pkgbase = php-luasandbox license = MIT depends = php depends = lua51 - source = php-luasandbox-4.1.0.tar.gz::https://github.com/wikimedia/mediawiki-php-luasandbox/archive/refs/tags/4.1.0.tar.gz - sha256sums = 52df81fb659691f32cd6a51ae521ac5a982c30383d68e9d34338a0c3dec28e72 - b2sums = 169e023a6f4c4b9d92114d80b05c81e07e487950c27c3bc4f25dd5c0c3b5915469fb997c7ae65b132a66c5e04c1c5d008e252589ed152acb046ecbb15e1b76b1 + source = php-luasandbox-4.1.1.tar.gz::https://github.com/wikimedia/mediawiki-php-luasandbox/archive/refs/tags/4.1.1.tar.gz + sha256sums = c1a9a212df344219401f2dfe0bf0a4d2b413b29e6f78e32ae4178efff3ae61ac + b2sums = 47fd4d25fa24f5ae24f66fb9208c1301eebacefdf2f6d8434c3d108941782a621f0095a49990647f8a29597bb7d91f6467f17f6b78a041b5f3123cc7f70dbc22 pkgname = php-luasandbox @@ -1,7 +1,7 @@ # Maintainer: KokaKiwi <kokakiwi+aur [at] kokakiwi.net> pkgname=php-luasandbox -pkgver=4.1.0 +pkgver=4.1.1 pkgrel=1 pkgdesc='PHP extension that provides a sandboxed environment to run Lua scripts in' arch=('i686' 'x86_64') @@ -9,8 +9,8 @@ url='https://www.mediawiki.org/wiki/LuaSandbox' license=('MIT') depends=('php' 'lua51') source=("$pkgname-$pkgver.tar.gz::https://github.com/wikimedia/mediawiki-php-luasandbox/archive/refs/tags/$pkgver.tar.gz") -sha256sums=('52df81fb659691f32cd6a51ae521ac5a982c30383d68e9d34338a0c3dec28e72') -b2sums=('169e023a6f4c4b9d92114d80b05c81e07e487950c27c3bc4f25dd5c0c3b5915469fb997c7ae65b132a66c5e04c1c5d008e252589ed152acb046ecbb15e1b76b1') +sha256sums=('c1a9a212df344219401f2dfe0bf0a4d2b413b29e6f78e32ae4178efff3ae61ac') +b2sums=('47fd4d25fa24f5ae24f66fb9208c1301eebacefdf2f6d8434c3d108941782a621f0095a49990647f8a29597bb7d91f6467f17f6b78a041b5f3123cc7f70dbc22') build() { cd "mediawiki-php-luasandbox-$pkgver" @@ -22,11 +22,19 @@ build() { make } +check() { + cd "mediawiki-php-luasandbox-$pkgver" + + NO_INTERACTION=1 make test +} + package() { cd "mediawiki-php-luasandbox-$pkgver" make install INSTALL_ROOT="$pkgdir" - install -Dm0644 -t "$pkgdir/etc/php/conf.d" luasandbox.ini + + install -dm0755 "$pkgdir/etc/php/conf.d" + echo ';extension=luasandbox.so' > "$pkgdir/etc/php/conf.d/luasandbox.ini" install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING } |