summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21d037f7b2343335b82f0d86a89f69dec85079c7 (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
37
# Maintainer: Severen Redwood <severen@shrike.me>
# Contributors: TingPing <tingping@tingping.se>
#               Diego Cano <elkano@blep.org>
# Report all package issues to `https://github.com/SShrike/pkgbuilds`

pkgname=gtkd-git
pkgver=r1244.b49250e
pkgrel=1
pkgdesc='D binding and OO wrapper of GTK+'
url='http://gtkd.org'
options=('staticlibs')
license=('LGPL')
arch=('i686' 'x86_64')
provides=('gtkd')
conflicts=('gtkd')
depends=('gtk3')
makedepends=('dmd')
optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer')
source=('git://github.com/gtkd-developers/GtkD.git')
md5sums=('SKIP')

pkgver() {
  cd GtkD
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd GtkD
  make gtkd
}

package() {
  cd GtkD
  make prefix="/usr" DESTDIR="${pkgdir}/" install
}

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