summaryrefslogtreecommitdiff
path: root/community/ktikz
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
committerroot <root@rshg054.dnsready.net>2012-02-20 23:15:21 +0000
commit11484c032f8c236b2044e715a9a3b28e33f65598 (patch)
treeec2f7c7ad850a191e3ef6cf1bcb03a6468744f1c /community/ktikz
parent1a09ca56e4f37ac4e995c924c649ede71a5c82aa (diff)
Mon Feb 20 23:15:21 UTC 2012
Diffstat (limited to 'community/ktikz')
-rw-r--r--community/ktikz/PKGBUILD23
1 files changed, 6 insertions, 17 deletions
diff --git a/community/ktikz/PKGBUILD b/community/ktikz/PKGBUILD
index 380216a6d..850a926be 100644
--- a/community/ktikz/PKGBUILD
+++ b/community/ktikz/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ktikz
pkgver=0.10
-pkgrel=2
+pkgrel=3
pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)"
arch=('i686' 'x86_64')
url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
@@ -16,24 +16,13 @@ md5sums=('e8f0826cba2447250bcdcd389a71a2ac')
install=ktikz.install
build() {
- cd "$srcdir"/"$pkgname"
-
- # Patch conf.pri to get rid of annoying environment variables
- egrep -v '^(DESKTOPDIR|PREFIX)' conf.pri > conf.pri.patched
- mv -f conf.pri.patched conf.pri
+ cd "$srcdir"/"$pkgname"
- sed -e 's/LRELEASECOMMAND/#LRELEASECOMMAND/' conf.pri > conf.pri.patched
- mv -f conf.pri.patched conf.pri
-
- sed -e 's/QMAKECOMMAND/#QMAKECOMMAND/' conf.pri > conf.pri.patched
- mv -f conf.pri.patched conf.pri
-
- # Make and install
- cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
- make
+ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
+ make
}
package() {
- cd "$srcdir"/"${pkgname}"
- make DESTDIR="$pkgdir" install
+ cd "$srcdir"/"$pkgname"
+ make DESTDIR="$pkgdir" install
}