updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / logdiag / PKGBUILD
bloba0ea2756f90c161224c5bf4e1e7b1ae6a8c64b57
1 pkgname=(logdiag)
2 pkgver=0.1.2
3 pkgrel=2
4 pkgdesc="Schematic editor"
5 arch=('i686' 'x86_64')
6 url="http://github.com/pjanouch/logdiag"
7 license=('BSD')
8 groups=()
9 depends=('json-glib>=0.10.4' 'gtk2>=2.12' 'lua>=5.1' 'librsvg>=2.0')
10 makedepends=('cmake>=2.6')
11 optdepends=()
12 backup=()
13 options=()
14 install=logdiag.install
15 source=(https://github.com/pjanouch/${pkgname}/tarball/v${pkgver})
16 noextract=()
17 md5sums=('f2c216e38590418ef9897b21ab39ce2d')
19 build() {
20   cd $srcdir/pjanouch-${pkgname}-*
22   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release || return 1
25 package() {
26   cd $srcdir/pjanouch-${pkgname}-*
28   make DESTDIR=$pkgdir install || return 1
29   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"