blob: 1974ca748408fe06aaea0cd0e04645c63db06beb (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=dbmodel
pkgver=0.3.r129.6045f9a
pkgrel=2
_pkgver=${pkgver%.*.*}
_commit=${pkgver##*.}
pkgdesc='visualize a database'
arch=('i686' 'x86_64')
url='https://oxygene.sk/projects/dbmodel/'
license=('GPL2')
groups=()
depends=('qt4')
makedepends=('git')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
"${pkgname}::git+https://bitbucket.org/lalinsky/dbmodel.git#commit=${_commit}"
'pfeile-entwirren.patch'
)
sha512sums=('SKIP'
'3b618b9497b3d6213700e6c5f8996903b37acd1b0d7949e6fc59a35e4f838dece5e9edef666fe0cd6dc409e982d9dec9aea362d2fd8274ea37371c37bcf0b7f1')
pkgver(){
cd "${pkgname}"
printf "%s.r%s" "${_pkgver}" "$(git rev-list --count ${_commit}).$(git rev-parse --short ${_commit})"
}
prepare() {
cd "${srcdir}/${pkgname}"
sed -i '
s|/usr/local|/usr|g
' src/src.pro
patch -p1 -i "${srcdir}/pfeile-entwirren.patch"
}
build() {
cd "${srcdir}/${pkgname}"
qmake-qt4
make
}
package() {
cd "${srcdir}/${pkgname}"
make "INSTALL_ROOT=${pkgdir}" install
}
|