Skip to content

Commit

Permalink
Fix for modules included or not within main php5 package
Browse files Browse the repository at this point in the history
  • Loading branch information
Magissia committed Jun 27, 2016
1 parent 24fb438 commit 3961172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ package_php5() {
install -d -m755 "${pkgdir}/etc/${pkgbase}/conf.d/"

# remove static modules
rm -f "${pkgdir}/usr/lib/${pkgbase}/modules/*.a"
rm -f "$pkgdir/usr/lib/$pkgbase/modules/"*.a
# remove modules provided by sub packages
rm -f "${pkgdir}/usr/lib/${pkgbase}/modules/{enchant,gd,imap,intl,ldap,mcrypt,mssql,odbc,pdo_odbc,pgsql,pdo_pgsql,pspell,snmp,sqlite3,pdo_sqlite,tidy,xsl,pdo_dblib}.so"
rm -f "$pkgdir/usr/lib/$pkgbase/modules/"{enchant,gd,imap,intl,ldap,mcrypt,mssql,odbc,pdo_odbc,pgsql,pdo_pgsql,pspell,snmp,sqlite3,pdo_sqlite,tidy,xsl,pdo_dblib}.so

# remove empty directory
rmdir "${pkgdir}/usr/include/php/include"
Expand Down

0 comments on commit 3961172

Please sign in to comment.