summaryrefslogtreecommitdiff
path: root/dbmodel
diff options
context:
space:
mode:
Diffstat (limited to 'dbmodel')
-rw-r--r--dbmodel/.gitignore1
-rwxr-xr-xdbmodel/PKGBUILD46
2 files changed, 47 insertions, 0 deletions
diff --git a/dbmodel/.gitignore b/dbmodel/.gitignore
new file mode 100644
index 00000000..62d11c5c
--- /dev/null
+++ b/dbmodel/.gitignore
@@ -0,0 +1 @@
+dbmodel
diff --git a/dbmodel/PKGBUILD b/dbmodel/PKGBUILD
new file mode 100755
index 00000000..dfff0e93
--- /dev/null
+++ b/dbmodel/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=dbmodel
+pkgver=0.3
+pkgrel=1
+pkgdesc='visualize a database'
+arch=('i686' 'x86_64')
+url='https://oxygene.sk/projects/dbmodel/'
+license=()
+groups=()
+depends=('qt4')
+makedepends=('git')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+source=(
+ "${pkgname}::git+https://bitbucket.org/lalinsky/dbmodel.git"
+)
+sha512sums=('SKIP')
+
+prepare() {
+
+ cd "${pkgname}"
+ sed -i '
+ s|/usr/local|/usr|g
+ ' src/Makefile
+
+}
+
+build() {
+
+ cd "${pkgname}"
+ qmake-qt4
+ make
+
+}
+
+package() {
+
+ cd "${pkgname}"
+ make "INSTALL_ROOT=${pkgdir}" install
+
+}