blob: e341d79d0d569f805c1cbad47488d5feb9634d2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Rodrigo Lourenço <rzl@rzl.ooo>
_pecl=krb5
pkgname=php-pecl-${_pecl}
pkgver=1.1.4
pkgrel=1
pkgdesc="PHP interface to Kerberos and GSSAPI"
arch=(x86_64)
url="https://pecl.php.net/package/${_pecl}"
license=('MIT')
depends=('krb5')
makedepends=('php')
source=(https://pecl.php.net/get/${_pecl}-${pkgver}.tgz)
sha1sums=('650a094276570c15dbc66d9b38e84b40380a194c')
build() {
cd "${_pecl}-${pkgver}"
phpize
./configure --prefix=/usr
make
}
package() {
cd "${_pecl}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" install
install -m0644 -D -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
mkdir -p "${pkgdir}/etc/php/conf.d"
echo "; extension=${_pecl}.so" >"${pkgdir}/etc/php/conf.d/${_pecl}.ini"
}
|