summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbf78608ff81a3273b0358021a5fdf897e82741d (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: max_meyer 
# Contributor: popsch
# Based on original tikzit-aur-package made by pippin

pkgname=tikzit-git
pkgver=r297
pkgrel=2
pkgdesc="Creation and modification of TeX diagrams written using the pgf/TikZ macro library"
arch=('i686' 'x86_64')
url="https://github.com/tikzit/tikzit.git"
license=('GPL')
depends=('gtk2>=2.18.0' 'poppler-glib' 'hicolor-icon-theme' 'gnustep-base' 'desktop-file-utils')
makedepends=('git' 'gcc-objc')
provides=('tikzit')
conflicts=('tikzit')
source=('git+https://github.com/tikzit/tikzit.git')
md5sums=('SKIP')
options=('!makeflags')

pkgver() {
  cd ${pkgname%-git}
  printf "r%s" "$(git rev-list --count HEAD)"
}
 
build() {
  cd "$srcdir"/${pkgname%-git}/${pkgname%-git}
  ./autogen.sh
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "$srcdir"/${pkgname%-git}/${pkgname%-git}
  make DESTDIR="$pkgdir" install
}