aboutsummaryrefslogtreecommitdiffstats
path: root/community/ltb-project-ssp/APKBUILD
blob: 43c1bf09fa2de3563005cc21f1d81868f1b27363 (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
31
32
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="ltb-project-ssp"
_realname="ltb-project-self-service-password"
pkgver="1.3"
pkgrel=0
pkgdesc="PHP application that allows users to change their password in an LDAP directory"
url="https://ltb-project.org/wiki/documentation/self-service-password"
arch="noarch"
license="GPL"
_php=php7
depends="$_php ${_php}-ldap ${_php}-openssl ${_php}-sodium"
makedepends="$depends_dev"
options="!check"
source="http://ltb-project.org/archives/ltb-project-self-service-password-$pkgver.tar.gz
	ltb-project-ssp-move-config-location.patch
	"
builddir="$srcdir"/$_realname-$pkgver

build() {
	return 0
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/etc/ltb-project/ssp
	mkdir -p "$pkgdir"/usr/share/webapps/ltb-project/ssp
	mv conf "$pkgdir"/etc/ltb-project/ssp
	cp -r * "$pkgdir"/usr/share/webapps/ltb-project/ssp
}

sha512sums="71aec5a3673ee710d4ba4a17862c695e0775ad944d85c8e05e826774010b8e905af5ab9e75886bc8c2efb9d9372ffe00d8856024e9656e1c71a57017b0eeac6d  ltb-project-self-service-password-1.3.tar.gz
52354e07d19d01066fbd95ad95cb1e42e6c2798258c34e6e90225cb60b035427fd639232e4686ba55bafd543215dded9d3428a7c0b31b548a73f3bb9d3b61ba2  ltb-project-ssp-move-config-location.patch"