summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64d4fb9fa4f9bc06b98a18d2b3ea07cbd08a1702 (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=1199.98f9dc8
pkgrel=3
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 $(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: