summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3efdea80fab7c1d9a4ebd3820b8da53ef11fbca7 (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
37
38
39
# Contributor: WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributor: Ludovico de Nittis <aasonykk [at] gmail [dot] com>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>

pkgname=dbmain
pkgver=11.0.0
pkgrel=1
pkgdesc="A free data-modeling and data-architecture tool"
arch=(i686 x86_64)
url=http://www.db-main.eu/
license=(custom)
depends=(java-runtime libsm libx11 cairo expat gcc-libs gtk2 gdk-pixbuf2 glib2 pango libpng12 zlib)
source_i686=("https://www.rever.eu/db-main/files/dbm-${pkgver//.}-linux-i386-setup.tar.gz")
source_x86_64=("https://www.rever.eu/db-main/files/dbm-${pkgver//.}-linux-amd64-setup.tar.gz")
source=(${pkgname}.sh
        ${pkgname}.desktop
        ${pkgname}.png)
md5sums=('b39e20bbd5360fd70b7b23f0f69689d4'
         '048f1f5f6fe6e5b29d8e7cbeb825103d'
         '6bb248b5807368118996f3f5ad2edb68')
md5sums_i686=('132fbf63128dc25e7b2f1c1fa64c5d12')
md5sums_x86_64=('df0dcf6058f9b051b7b656b9600b98c7')

package(){
  cd "${srcdir}"

  # Actual program
  install -d "${pkgdir}/opt/dbmain/"
  cp -r bin doc examples java plugins License.txt readme.html "${pkgdir}/opt/dbmain/"

  # Launch script
  install -d "${pkgdir}/usr/bin/"
  install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  install -m755 dbmain.sh "${pkgdir}/usr/bin/dbmain"

  # LICENSE file
  install -Dm644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}