blob: 1ab46cea84a0d8f27a53002dae816bb2b2156350 (
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
33
34
35
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"
|