summaryrefslogtreecommitdiff
path: root/community/kbibtex/PKGBUILD
blob: c92ab49f800115d32fd656ba63aa3d079ba9d0ed (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
# $Id: PKGBUILD 103296 2014-01-02 21:08:34Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
# Contributor: cmorlok <christianmorlok@web.de>

pkgname=kbibtex
pkgver=0.5
_branch=0.5
pkgrel=1
pkgdesc="A BibTeX editor for KDE"
arch=('i686' 'x86_64' 'mips64el')
url='http://home.gna.org/kbibtex/'
license=('GPL')
depends=('kdebase-runtime')
optdepends=('kdegraphics-okular: Document preview')
makedepends=('cmake' 'automoc4')
install=$pkgname.install
source=("http://download.gna.org/$pkgname/$_branch/$pkgname-$pkgver.tar.xz")
md5sums=('bbd2affd1edfb8f02a077c2c7cfc2038')

build() {
  cd "$pkgname-$pkgver"

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: