summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dca623878a50c375512eb75946b77db8bb9f99c3 (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
29
30
# Maintainer: K1412 <jonathan@opensides.be>
pkgname=php-cas
pkgver=1.3.4
pkgrel=1
pkgdesc="CAS library for PHP"
arch=("any")
url="http://developer.jasig.org/cas-clients/php/"
license=("Apache")
depends=('php')

source=("http://developer.jasig.org/cas-clients/php/$pkgver/CAS-$pkgver.tgz")

md5sums=('58f93724ec52929658bb8f1be8fa2154')

package() {
  cd ./php-cas-$pkgver

  # Go in directory
  cd CAS-$pkgver/

  # Create directories
  install -d -m 0755 $pkgdir/usr/share/php/CAS/
  mkdir -p $pkgdir/usr/share/doc/$pkgname/

  # Copy files
  cp -a ./CAS/* $pkgdir/usr/share/php/CAS/
  cp -a ./CAS.php $pkgdir/usr/share/php/
  cp -a ./LICENSE  ./NOTICE  ./README.md  $pkgdir/usr/share/doc/$pkgname/
  cp -a ./docs/* $pkgdir/usr/share/doc/$pkgname/
}