summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxwell Pray2018-03-26 14:46:09 -0700
committerMaxwell Pray2018-03-26 14:46:09 -0700
commit2133aaefebaca17ae37f86ae35bed959ce7d0076 (patch)
treefd755e9e118a8e59d583f771752086467d3de433
parent5b32b879d37c98bce811dcca90799910980da61d (diff)
downloadaur-2133aaefebaca17ae37f86ae35bed959ce7d0076.tar.gz
Add upstream equivalent provides=() to packages.
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD22
2 files changed, 40 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c378be0a3a0..346cfee46d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = php71
pkgver = 7.1.15
- pkgrel = 2
+ pkgrel = 3
url = http://www.php.net
arch = x86_64
license = PHP
@@ -27,7 +27,6 @@ pkgbase = php71
makedepends = postfix
makedepends = freetds
makedepends = pcre
- provides = php=7.1.15
source = https://php.net/distributions/php-7.1.15.tar.xz
source = apache.patch
source = apache.conf
@@ -50,22 +49,26 @@ pkgname = php71
depends = libzip
depends = pcre
depends = argon2
+ provides = php=7.1.15
backup = opt/php71etc/php/php.ini
pkgname = php71-cgi
pkgdesc = CGI and FCGI SAPI for PHP
depends = php71
+ provides = php-cgi
pkgname = php71-apache
pkgdesc = Apache SAPI for PHP
depends = php71
depends = apache
+ provides = php-apache
backup = opt/php71etc/httpd/conf/extra/php7_module.conf
pkgname = php71-fpm
pkgdesc = FastCGI Process Manager for PHP
depends = php71
depends = systemd
+ provides = php-fpm
options = !emptydirs
backup = opt/php71etc/php/php-fpm.conf
backup = opt/php71etc/php/php-fpm.d/www.conf
@@ -74,76 +77,91 @@ pkgname = php71-embed
pkgdesc = Embedded PHP SAPI library
depends = php71
depends = libsystemd
+ provides = php-embed
options = !emptydirs
pkgname = php71-phpdbg
pkgdesc = Interactive PHP debugger
depends = php71
+ provides = php-phpdbg
options = !emptydirs
pkgname = php71-dblib
pkgdesc = dblib module for PHP
depends = php71
depends = freetds
+ provides = php-dblib
pkgname = php71-enchant
pkgdesc = enchant module for PHP
depends = php71
depends = enchant
+ provides = php-enchant
pkgname = php71-gd
pkgdesc = gd module for PHP
depends = php71
depends = gd
+ provides = php-gd
pkgname = php71-imap
pkgdesc = imap module for PHP
depends = php71
depends = c-client
+ provides = php-imap
pkgname = php71-intl
pkgdesc = intl module for PHP
depends = php71
depends = icu
+ provides = php-intl
pkgname = php71-mcrypt
pkgdesc = mcrypt module for PHP
depends = php71
depends = libmcrypt
depends = libtool
+ provides = php-mcrypt
pkgname = php71-odbc
pkgdesc = ODBC modules for PHP
depends = php71
depends = unixodbc
+ provides = php-odbc
pkgname = php71-pgsql
pkgdesc = PostgreSQL modules for PHP
depends = php71
depends = postgresql-libs
+ provides = php-pgsql
pkgname = php71-pspell
pkgdesc = pspell module for PHP
depends = php71
depends = aspell
+ provides = php-pspell
pkgname = php71-snmp
pkgdesc = snmp module for PHP
depends = php71
depends = net-snmp
+ provides = php-snmp
pkgname = php71-sqlite
pkgdesc = sqlite module for PHP
depends = php71
depends = sqlite
+ provides = php-sqlite
pkgname = php71-tidy
pkgdesc = tidy module for PHP
depends = php71
depends = tidy
+ provides = php-tidy
pkgname = php71-xsl
pkgdesc = xsl module for PHP
depends = php71
depends = libxslt
+ provides = php-xsl
diff --git a/PKGBUILD b/PKGBUILD
index 24906d6d82b..9d4c95a4783 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,14 +23,13 @@ pkgname=("$pkgbase"
"$pkgbase-tidy"
"$pkgbase-xsl")
pkgver=7.1.15
-pkgrel=2
+pkgrel=3
arch=('x86_64')
license=('PHP')
url='http://www.php.net'
makedepends=('apache' 'aspell' 'c-client' 'db' 'enchant' 'gd' 'gmp' 'icu' 'libmcrypt' 'libxslt' 'libzip' 'net-snmp'
'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'postfix' 'freetds' 'pcre')
checkdepends=('procps-ng')
-provides=("${_pkgbase}=${pkgver}")
source=("https://php.net/distributions/${_pkgbase}-${pkgver}.tar.xz"
'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch')
sha512sums=('2b23795ffcb9d741adafe8a1e01e6988bb86ce7c6380bdbe822f8f6485e217ed2e95a27daf5ba11f0bf10317f1e1f4e37068e40d0bf322de5625d38b430d37c2'
@@ -177,6 +176,7 @@ check() {
package_php71() {
pkgdesc='A general-purpose scripting language that is especially suited to web development'
+ provides=("${_pkgbase}=${pkgver}")
depends=('libxml2' 'curl' 'libzip' 'pcre' 'argon2')
backup=("${_optdir#/}etc/php/php.ini")
@@ -195,6 +195,7 @@ package_php71() {
package_php71-cgi() {
pkgdesc='CGI and FCGI SAPI for PHP'
+ provides=('php-cgi')
depends=("$pkgbase")
cd ${srcdir}/build
@@ -203,6 +204,7 @@ package_php71-cgi() {
package_php71-apache() {
pkgdesc='Apache SAPI for PHP'
+ provides=('php-apache')
depends=("$pkgbase" 'apache')
backup=("${_optdir#/}etc/httpd/conf/extra/php7_module.conf")
@@ -212,6 +214,7 @@ package_php71-apache() {
package_php71-fpm() {
pkgdesc='FastCGI Process Manager for PHP'
+ provides=('php-fpm')
depends=("$pkgbase" 'systemd')
backup=("${_optdir#/}etc/php/php-fpm.conf" "${_optdir#/}etc/php/php-fpm.d/www.conf")
options=('!emptydirs')
@@ -224,6 +227,7 @@ package_php71-fpm() {
package_php71-embed() {
pkgdesc='Embedded PHP SAPI library'
+ provides=('php-embed')
depends=("$pkgbase" 'libsystemd')
options=('!emptydirs')
@@ -233,6 +237,7 @@ package_php71-embed() {
package_php71-phpdbg() {
pkgdesc='Interactive PHP debugger'
+ provides=('php-phpdbg')
depends=("$pkgbase")
options=('!emptydirs')
@@ -242,6 +247,7 @@ package_php71-phpdbg() {
package_php71-dblib() {
pkgdesc='dblib module for PHP'
+ provides=('php-dblib')
depends=("$pkgbase" 'freetds')
install -D -m755 ${srcdir}/build/modules/pdo_dblib.so ${pkgdir}${_optdir}/usr/lib/php/modules/pdo_dblib.so
@@ -249,6 +255,7 @@ package_php71-dblib() {
package_php71-enchant() {
pkgdesc='enchant module for PHP'
+ provides=('php-enchant')
depends=("$pkgbase" 'enchant')
install -D -m755 ${srcdir}/build/modules/enchant.so ${pkgdir}${_optdir}/usr/lib/php/modules/enchant.so
@@ -256,6 +263,7 @@ package_php71-enchant() {
package_php71-gd() {
pkgdesc='gd module for PHP'
+ provides=('php-gd')
depends=("$pkgbase" 'gd')
install -D -m755 ${srcdir}/build/modules/gd.so ${pkgdir}${_optdir}/usr/lib/php/modules/gd.so
@@ -263,6 +271,7 @@ package_php71-gd() {
package_php71-imap() {
pkgdesc='imap module for PHP'
+ provides=('php-imap')
depends=("$pkgbase" 'c-client')
install -D -m755 ${srcdir}/build/modules/imap.so ${pkgdir}${_optdir}/usr/lib/php/modules/imap.so
@@ -270,6 +279,7 @@ package_php71-imap() {
package_php71-intl() {
pkgdesc='intl module for PHP'
+ provides=('php-intl')
depends=("$pkgbase" 'icu')
install -D -m755 ${srcdir}/build/modules/intl.so ${pkgdir}${_optdir}/usr/lib/php/modules/intl.so
@@ -277,6 +287,7 @@ package_php71-intl() {
package_php71-mcrypt() {
pkgdesc='mcrypt module for PHP'
+ provides=('php-mcrypt')
depends=("$pkgbase" 'libmcrypt' 'libtool')
install -D -m755 ${srcdir}/build/modules/mcrypt.so ${pkgdir}${_optdir}/usr/lib/php/modules/mcrypt.so
@@ -284,6 +295,7 @@ package_php71-mcrypt() {
package_php71-odbc() {
pkgdesc='ODBC modules for PHP'
+ provides=('php-odbc')
depends=("$pkgbase" 'unixodbc')
install -D -m755 ${srcdir}/build/modules/odbc.so ${pkgdir}${_optdir}/usr/lib/php/modules/odbc.so
@@ -292,6 +304,7 @@ package_php71-odbc() {
package_php71-pgsql() {
pkgdesc='PostgreSQL modules for PHP'
+ provides=('php-pgsql')
depends=("$pkgbase" 'postgresql-libs')
install -D -m755 ${srcdir}/build/modules/pgsql.so ${pkgdir}${_optdir}/usr/lib/php/modules/pgsql.so
@@ -300,6 +313,7 @@ package_php71-pgsql() {
package_php71-pspell() {
pkgdesc='pspell module for PHP'
+ provides=('php-pspell')
depends=("$pkgbase" 'aspell')
install -D -m755 ${srcdir}/build/modules/pspell.so ${pkgdir}${_optdir}/usr/lib/php/modules/pspell.so
@@ -307,6 +321,7 @@ package_php71-pspell() {
package_php71-snmp() {
pkgdesc='snmp module for PHP'
+ provides=('php-snmp')
depends=("$pkgbase" 'net-snmp')
install -D -m755 ${srcdir}/build/modules/snmp.so ${pkgdir}${_optdir}/usr/lib/php/modules/snmp.so
@@ -314,6 +329,7 @@ package_php71-snmp() {
package_php71-sqlite() {
pkgdesc='sqlite module for PHP'
+ provides=('php-sqlite')
depends=("$pkgbase" 'sqlite')
install -D -m755 ${srcdir}/build/modules/sqlite3.so ${pkgdir}${_optdir}/usr/lib/php/modules/sqlite3.so
@@ -322,6 +338,7 @@ package_php71-sqlite() {
package_php71-tidy() {
pkgdesc='tidy module for PHP'
+ provides=('php-tidy')
depends=("$pkgbase" 'tidy')
install -D -m755 ${srcdir}/build/modules/tidy.so ${pkgdir}${_optdir}/usr/lib/php/modules/tidy.so
@@ -329,6 +346,7 @@ package_php71-tidy() {
package_php71-xsl() {
pkgdesc='xsl module for PHP'
+ provides=('php-xsl')
depends=("$pkgbase" 'libxslt')
install -D -m755 ${srcdir}/build/modules/xsl.so ${pkgdir}${_optdir}/usr/lib/php/modules/xsl.so