blob: adbda477819d5f4526322ad2dc3d856750b0a655 (
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
|
# Maintainer: Wieland Hoffmann
# Contributor: Andreas Baumann <abaumann@yahoo.com>
pkgname=dbmodel
pkgver=0.3
pkgrel=7
pkgdesc="A qt tool for drawing entity-relationship diagrams."
arch=('x86_64' 'pentium4' 'i686')
url="http://oxygene.sk/lukas/dbmodel/"
license=('GPL')
depends=('qt5-base' 'qt5-svg' 'qt5-tools')
source=(http://launchpad.net/dbmodel/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
0001-quick-and-dirty-adaption-to-Qt5.patch
0002-removed-duplicate-edit-delete.png.patch)
md5sums=('1b8e34a92d61d3819f4d7850e2bb5311'
'254050ab48b6b751cbfe246ac5bca0df'
'e6b32edef244e1366dfaa3c21063947f')
prepare() {
cd $srcdir/$pkgname-$pkgver
# patches from https://git.andreasbaumann.cc/cgit/dbmodel/?h=qt5
patch -Np1 -i "$srcdir/0001-quick-and-dirty-adaption-to-Qt5.patch"
patch -Np1 -i "$srcdir/0002-removed-duplicate-edit-delete.png.patch"
}
build() {
cd $srcdir/$pkgname-$pkgver
qmake-qt5
make
}
package() {
cd $srcdir/$pkgname-$pkgver
install -D -m 555 \
"$srcdir/$pkgname-$pkgver/dbmodel" \
"$pkgdir/usr/bin/dbmodel"
}
|