blob: 263c0c172a6e99311385b738f1fc4c46d8a6bcc1 (
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
|
# Maintainer: nepda <aur@nepda.eu>
pkgname="php-interbase"
pkgver=7.4.5
pkgrel=1
pkgdesc="Interbase PHP extension"
arch=("i686" "x86_64")
url="http://www.php.net"
license=("PHP")
depends=("php>=7.4.5" "libfbclient")
source=("http://www.php.net/distributions/php-${pkgver}.tar.bz2"
"interbase.ini")
md5sums=("8f5b5c83421674364e3a5fb1f1fd37ac"
"1294b282b70e9c1bf4f267b74f491baa")
build() {
cd ${srcdir}/php-${pkgver}/ext/interbase
phpize
./configure --with-interbase=/opt/firebird
make
}
package() {
mkdir -p "$pkgdir"/{/usr/lib/php/modules,/etc/php/conf.d}
install -m755 "$srcdir/php-$pkgver/ext/interbase/.libs/interbase.so" "$pkgdir/usr/lib/php/modules"
install -m644 "$srcdir/interbase.ini" "$pkgdir/etc/php/conf.d"
}
|