aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/postfixadmin/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/postfixadmin/APKBUILD b/testing/postfixadmin/APKBUILD
new file mode 100644
index 0000000000..1ab46cea84
--- /dev/null
+++ b/testing/postfixadmin/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=postfixadmin
+pkgver=2.3.5
+pkgrel=0
+pkgdesc="Web front-end for managing Postfix Virtual Domains"
+url="http://phpldapadmin.sourceforge.net"
+arch="noarch"
+license="GPL2"
+depends="php"
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages=
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/webapps/$pkgname
+ mkdir -p "$pkgdir"/etc/$pkgname
+ mv * "$pkgdir"/usr/share/webapps/$pkgname
+ mv "$pkgdir"/usr/share/webapps/$pkgname/config.inc.php "$pkgdir"/etc/$pkgname
+ ln -s /etc/$pkgname/config.inc.php "$pkgdir"/usr/share/webapps/$pkgname || exit 1
+}
+
+md5sums="9a72ed8d827fa2c7f641001f2aa87814 postfixadmin-2.3.5.tar.gz"