blob: a90f5377ace77fa78e796e8130109f5863ebc1d8 (
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: Benjamin Schäfer <b-schaefer at posteo dot de>
# Contributor: Lorenzo Giuliani <lorenzo at giuliani dot me>
pkgname=pgmanage-bin
pkgver=11.0.1
pkgrel=2
pkgdesc="pgManage - A fast alternative to PGAdmin"
arch=('i686' 'x86_64')
url="https://www.workflowproducts.com/services.html#software"
name=pgManage
license=("custom:${name}", 'custom:electron', 'custom:chromium')
depends=('alsa-lib' 'gconf' 'gtk2' 'libxss' 'libxtst' 'nss')
source=("LICENSE.${name}.txt::https://raw.githubusercontent.com/${name}/${name}/master/LICENSE"
"${name}.sh")
source_i686=("${pkgname}-${pkgver}-i686.rpm::https://github.com/${name}/${name}/releases/download/v${pkgver}/${name}-${pkgver}.i686.rpm")
source_x86_64=("${pkgname}-${pkgver}-x86_64.rpm::https://github.com/${name}/${name}/releases/download/v${pkgver}/${name}-${pkgver}.x86_64.rpm")
sha256sums=('SKIP' 'SKIP')
md5sums_i686=('60cdaa61d5f0c6562eb646be198dc6a5')
md5sums_x86_64=('1ade5523b45041d0f08dfc50571fd096')
package() {
install -d "${pkgdir}"/opt/${name}
install -d "${pkgdir}"/usr/bin
install -d "${pkgdir}"/usr/share/applications
install -d "${pkgdir}"/usr/share/icons
cp --preserve=mode -r "${srcdir}"/opt/${name}/* "${pkgdir}"/opt/${name}
cp --preserve=mode -r "${srcdir}"/usr/share/applications/* "${pkgdir}"/usr/share/applications
cp --preserve=mode -r "${srcdir}"/usr/share/icons/* "${pkgdir}"/usr/share/icons
install -Dm644 "${srcdir}"/opt/${name}/LICENSES.chromium.html "${pkgdir}"/usr/share/licenses/${name}/LICENSES.chromium.html
install -Dm644 "${srcdir}"/opt/${name}/LICENSE.electron.txt "${pkgdir}"/usr/share/licenses/${name}/LICENSE.electron.txt
install -Dm644 "${srcdir}"/LICENSE.${name}.txt "${pkgdir}"/usr/share/licenses/${name}/LICENSE.${name}.txt
install -m755 ${name}.sh "${pkgdir}"/usr/bin/${name}
}
|