1 # Maintainer: Tim Hartman <tbhartman at gmail>
5 pkgdesc="OpenID support for PHP"
7 url="http://www.openidenabled.com/"
9 depends=('php>=4.3.0' 'php-curl')
10 optdepends=('php-gmp: faster than PHP Bcmath extension'
11 'mysql: data storage in MySQL'
12 'postgresql: data storage in PostgreSQL'
13 'sqlite3: data storage in SQLite'
14 'php-pear: data storaage in any of the above databases')
15 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/openid/$pkgname/tarball/$pkgver")
16 install="${pkgname}.install"
17 md5sums=('f14bfe22b553936a5648dee1ca94455a')
21 mv "openid-${pkgname}-"* "${pkgname}-${pkgver}"
22 cd "${pkgname}-${pkgver}"
24 mkdir -p "${pkgdir}/usr/lib/${pkgname}/"
25 cp -r --preserve=all ./* "${pkgdir}/usr/lib/${pkgname}/"
26 chown -R root:http "${pkgdir}/usr/lib/${pkgname}/Auth"
27 chmod -R g+x "${pkgdir}/usr/lib/${pkgname}/Auth"
29 mkdir -p "${pkgdir}/srv/"
31 ln -s "../usr/lib/${pkgname}/Auth"