summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSwaelens Jonathan2016-01-14 14:48:49 +0000
committerSwaelens Jonathan2016-01-14 15:16:59 +0000
commitedbe5820d2963d0af429b1c7692d3f77b9a99331 (patch)
tree6d4ce96e5aa84f5183f0774d38ea808a065c5397 /PKGBUILD
downloadaur-edbe5820d2963d0af429b1c7692d3f77b9a99331.tar.gz
Initial commit for php-cas
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dca623878a5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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/
+}