blob: a87dd15324f0b80287babeb52a9a61a3d0357759 (
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
|
# Maintainer: Mario Finelli <mario at finel dot li>
# Contributor: Sabart Otto <seberm at gmail dot com>
pkgname=adminer
pkgver=4.2.4
pkgrel=1
pkgdesc="A full-featured MySQL management tool written in PHP."
arch=('any')
license=('Apache', 'GPL')
depends=('php')
optdepends=('mysql' 'apache' 'postgresql' 'sqlite')
url="https://www.adminer.org"
install=${pkgname}.install
source=("${pkgname}.install"
"httpd-${pkgname}.conf"
"https://www.adminer.org/static/download/${pkgver}/${pkgname}-${pkgver}.php")
sha256sums=('f3d2c8d2119cccf4d84d32ad2662300eecda62ffba7304505e563e192b5a10ef'
'61057fd37bc77ae43110074220f7148055b34154f5f5a55e252aba1e19829b02'
'ea21b95da1a2f66d26849160f3257823254663144e6b3b506c35160b70c7b3bd')
package() {
cd "$srcdir"
install -Dm0644 "${pkgname}-${pkgver}.php" \
"$pkgdir/usr/share/webapps/$pkgname/index.php"
# TODO: I don't really like this. What if someone is using nginx, for
# example? Or doesn't care to have any configuration installed at all.
# Consider removing.
install -Dm0644 "httpd-${pkgname}.conf" \
"$pkgdir/etc/httpd/conf/extra/httpd-${pkgname}.conf"
}
|