Search Criteria
Package Details: php-rar 4.2.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php-rar.git (read-only, click to copy) |
---|---|
Package Base: | php-rar |
Description: | PHP PECL extension for reading RAR archives using bundled unRAR library |
Upstream URL: | https://pecl.php.net/package/rar |
Licenses: | PHP |
Submitter: | None |
Maintainer: | tjbp |
Last Packager: | tjbp |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2010-12-27 17:54 (UTC) |
Last Updated: | 2021-01-17 13:04 (UTC) |
Latest Comments
tjbp commented on 2022-02-28 22:46 (UTC)
@muhviehstarr I think that fix should be released in a separate package called php-rar-git, as it's not a version release. This package will have to wait for the next release.
muhviehstarr commented on 2022-02-25 01:20 (UTC) (edited on 2022-02-25 01:39 (UTC) by muhviehstarr)
php is now on version 8.1 - fix suggestion:
--- PKGBUILD +++ PKGBUILD @@ -3,14 +3,21 @@
pkgname='php-rar' pkgver='4.2.0' -pkgrel='1' +pkgrel='2' pkgdesc='PHP PECL extension for reading RAR archives using bundled unRAR library' arch=('i686' 'x86_64') url='https://pecl.php.net/package/rar' license=('PHP') depends=('php>=5.3') -source=("http://pecl.php.net/get/rar-$pkgver.tgz") -sha256sums=('660d7d6bc97cc45395e56621aa8803a9f9d4b3436c576d67afe712c8f964a4b9') +source=("http://pecl.php.net/get/rar-$pkgver.tgz" + "php81.patch::https://github.com/cataphract/php-rar/commit/ab26d285759e4c917879967b09976a44829ed570.patch") +sha256sums=('660d7d6bc97cc45395e56621aa8803a9f9d4b3436c576d67afe712c8f964a4b9' + '2e76c0cb46927a952e7ef6fc6057b248311155a64a975925a97fe399a6ad6780') + +prepare() { + cd "$srcdir/rar-$pkgver" + patch -Np1 -i "$srcdir/php81.patch" +}
build() { cd "$srcdir/rar-$pkgver" @@ -22,6 +29,13 @@ build() { echo 'extension=rar.so' > rar.ini }
+check() { + cd "$srcdir/rar-$pkgver" + export NO_INTERACTION="true" + make -k test +} + + package() { pushd "$srcdir/rar-$pkgver" make INSTALL_ROOT="$pkgdir" install
k0ste commented on 2020-10-06 05:17 (UTC)
Currentry build failed, over release tarball, this is diff on github, now build was complete for me.
svinto commented on 2020-08-12 12:54 (UTC)
I get compilation errors with the official v4.0.0 tarball. Both with this AUR package and when compiling manually. I guess some defaults have changed with newer versions of gcc, so maybe a compilation flag is needed. But I'm not knowledgeable enough to figure it out.
But I found that I could compile the git version without errors. https://github.com/cataphract/php-rar
tjbp commented on 2018-01-30 13:01 (UTC)
@oi_wtf thanks - removed. I think it was always there in error - older versions seem to have supported 7 too.
oi_wtf commented on 2018-01-29 23:51 (UTC) (edited on 2018-01-29 23:53 (UTC) by oi_wtf)
This package worked fine with PHP 7.2 from [extra] for me after removing the <7.0, so that "limit" is probably not needed anymore?