summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a540125b91a73a011c01db9077031077b1b8bde (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
# Maintainer: Polarian <polarian@polarian.dev>
# Contributor: Holger Schramm <dev@strace.it>

pkgname=mingo
pkgver=1.12.0
pkgrel=1
pkgdesc="A proprietary MongoDB GUI based on electron from developers for developers"
arch=('x86_64')
url="https://mingo.io/"
license=('custom:mingo')
depends=('alsa-lib' 'at-spi2-core' 'cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'gtk3' 'hicolor-icon-theme' 'libcups' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr' 'libxtst' 'mesa' 'pango')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source=("mingo-$pkgver.tar.gz::https://github.com/mingo-app/mingo/releases/download/v$pkgver/mingo-$pkgver.tar.gz"
        "Mingo.desktop")
sha256sums=('e3066ec42effd9a65a7fa7dda4c5ec98aaeecbbd4b767b35b34196e53478ba00'
            '292ba3da6e1e99e3f7f1fa719dde92d1d12ab81cba8b772612f9a0647472df97')

package() {
	install -Dm644 "mingo-$pkgver/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 "Mingo.desktop" "$pkgdir/usr/share/applications/Mingo.desktop"
  install -dm755 "$pkgdir/opt/mingo"
  cp -r "mingo-$pkgver"/* "$pkgdir/opt/mingo"
  chmod 655 -R "$pkgdir"/opt/mingo/*
}