summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSeveren Redwood2016-04-02 18:06:20 +1300
committerSeveren Redwood2016-04-02 18:06:20 +1300
commit4ff805b2668a06ff6eda89e2706127335c881427 (patch)
tree21eccd1bce50d430381be41efea7ba51d0fd9bf4 /PKGBUILD
parentcdc627a1aaeb1936cb31ddc11f75bb9b45c6ca5c (diff)
downloadaur-4ff805b2668a06ff6eda89e2706127335c881427.tar.gz
Build shared libraries
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 18 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21d037f7b23..714cead54d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,42 @@
# Maintainer: Severen Redwood <severen@shrike.me>
# Contributors: TingPing <tingping@tingping.se>
# Diego Cano <elkano@blep.org>
+# dsboger <https://github.com/dsboger>
# Report all package issues to `https://github.com/SShrike/pkgbuilds`
pkgname=gtkd-git
-pkgver=r1244.b49250e
+pkgver=r1258.4b67777
pkgrel=1
-pkgdesc='D binding and OO wrapper of GTK+'
-url='http://gtkd.org'
-options=('staticlibs')
+pkgdesc='D bindings for GTK+ and related libraries.'
+url='http://gtkd.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+options=('staticlibs')
+arch=('x86_64' 'i686')
provides=('gtkd')
conflicts=('gtkd')
-depends=('gtk3')
-makedepends=('dmd')
-optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer')
+depends=('liblphobos' 'gtk3')
+makedepends=('ldc') # LDC is currently required to build shared libs.
+optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 'vte3')
source=('git://github.com/gtkd-developers/GtkD.git')
md5sums=('SKIP')
pkgver() {
- cd GtkD
+ cd 'GtkD'
+
echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
- cd GtkD
- make gtkd
+ cd 'GtkD'
+
+ LDFLAGS='' DC='ldc' make all
}
package() {
- cd GtkD
- make prefix="/usr" DESTDIR="${pkgdir}/" install
+ cd 'GtkD'
+
+ make prefix='/usr' DESTDIR="${pkgdir}/" install install-gstreamer \
+ install-vte install-shared install-shared-gstreamer install-shared-vte
}
# vim:set ts=2 sw=2 et: