summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dddbc17238004015d3e77ecea1f51bc772baef71 (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
# Maintainer: Wieland Hoffmann
# Contributor: Andreas Baumann <abaumann@yahoo.com>

pkgname=dbmodel
pkgver=0.3
pkgrel=6
pkgdesc="A qt tool for drawing entity-relationship diagrams."
arch=('i686' 'x86_64')
url="http://oxygene.sk/lukas/dbmodel/"
license=('GPL')
depends=('qt4>=4.0')
source=(http://launchpad.net/dbmodel/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
        dbmodel-0.3-qt-4.6.patch)
md5sums=('1b8e34a92d61d3819f4d7850e2bb5311'
         'd6efa801e99d8531a08769829def0be8')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i "$srcdir/dbmodel-0.3-qt-4.6.patch"
  qmake-qt4
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -D -m 555 \
	"$srcdir/$pkgname-$pkgver/dbmodel" \
	"$pkgdir/usr/bin/dbmodel"
}