summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aecfb1dc2c6377869099e67645de584b36d14808 (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
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=dot-editor
pkgver=1.1.2
pkgrel=1
pkgdesc="The application, among other things, act as a graphical interface for the popular graphviz package. More generally, it is able to display the output of any text-based program that produces graphic files as output."
arch=('i686' 'x86_64')
url="https://sites.google.com/site/doteditorhome/"
license=('')
depends=('qt5-base' 'libx11' 'libpng' 'harfbuzz' 'libgl' 'icu' 'libffi' 'graphite')
makedepends=('bzip2')
options=('!emptydirs')
source=("http://tnick.github.com/dot-editor/distrib/1.1.1/source/dot-editor-1.1.1-Source.tar.bz2")
md5sums=('SKIP')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}-Source
  cmake . -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}-Source
  make install
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}