summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-30 23:25:53 +0100
committerErich Eckner <git@eckner.net>2017-11-30 23:25:53 +0100
commita0e3a8ea8f5391a3f88c9468f74cc6ceb0b3fc8f (patch)
tree91cc741b03d1074952df935acfd1e839faa6c0a2
parent6c8ab4fbd70cc6d64bc1a9648ded6590e462ec2c (diff)
downloadarchlinuxewe-a0e3a8ea8f5391a3f88c9468f74cc6ceb0b3fc8f.tar.xz
dbmodel: fix build
-rwxr-xr-xdbmodel/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbmodel/PKGBUILD b/dbmodel/PKGBUILD
index dfff0e93d..f3042866d 100755
--- a/dbmodel/PKGBUILD
+++ b/dbmodel/PKGBUILD
@@ -5,7 +5,7 @@ pkgrel=1
pkgdesc='visualize a database'
arch=('i686' 'x86_64')
url='https://oxygene.sk/projects/dbmodel/'
-license=()
+license=('GPL2')
groups=()
depends=('qt4')
makedepends=('git')
@@ -23,16 +23,16 @@ sha512sums=('SKIP')
prepare() {
- cd "${pkgname}"
+ cd "${srcdir}/${pkgname}"
sed -i '
s|/usr/local|/usr|g
- ' src/Makefile
+ ' src/src.pro
}
build() {
- cd "${pkgname}"
+ cd "${srcdir}/${pkgname}"
qmake-qt4
make
@@ -40,7 +40,7 @@ build() {
package() {
- cd "${pkgname}"
+ cd "${srcdir}/${pkgname}"
make "INSTALL_ROOT=${pkgdir}" install
}