summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2018-04-16 13:51:52 +0200
committerhaawda2018-04-16 13:51:52 +0200
commit755f5e19d4346f66893adad6cb9194f8211fa0e2 (patch)
treeaf26b1e07c20e62b4069ab9ab9fa9fd6915d4f08 /PKGBUILD
parent883cc8da85c2efb1dd9df306419a2f08ffe49585 (diff)
downloadaur-755f5e19d4346f66893adad6cb9194f8211fa0e2.tar.gz
remove obsolete patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7bc2b9425b2..cb3a22e29bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=qtikz-git
pkgver=r316.972685a
-pkgrel=1
+pkgrel=2
pkgdesc="Small application helping you to create TikZ diagrams"
arch=('i686' 'x86_64')
url="https://github.com/fhackenberger/ktikz"
@@ -11,30 +11,23 @@ depends=('poppler-qt5')
makedepends=('git' 'texlive-core')
provides=('qtikz')
conflicts=('qtikz')
-source=("qtikz::git+https://github.com/fhackenberger/ktikz" config.diff)
-md5sums=('SKIP'
- 'b502697a2a75a7bcdda2979e0541d2f4')
-_gitname=qtikz
+source=("qtikz::git+https://github.com/fhackenberger/ktikz")
+md5sums=('SKIP')
options=('!makeflags')
pkgver() {
- cd "$_gitname"
+ cd "${pkgname%-git}"
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
-prepare() {
- cd "$_gitname"/qmake
- patch -p2 < "$srcdir"/config.diff
-}
-
build() {
- cd "$_gitname"
+ cd "${pkgname%-git}"
qmake qtikz.pro
make
}
package() {
- cd "$_gitname"
+ cd "${pkgname%-git}"
make INSTALL_ROOT="$pkgdir" install
}