updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / gtkd / PKGBUILD
blob6351f32ffccffa17be9e6e1fa856491a9d8abe0a
1 # Maintainer: Robert Welin <robert dot welin at gmail dot com> 
2 pkgname=gtkd
3 pkgver=1.5.1
4 pkgrel=1
5 pkgdesc="D binding and OO wrapper of GTK+."
6 arch=('i686' 'x86_64')
7 url="http://www.dsource.org/projects/gtkd"
8 license=('LGPL')
9 depends=('gtk2' 'gtkglext')
10 source=("http://www.dsource.org/projects/gtkd/browser/downloads/gtkD-${pkgver}.zip?format=raw")
11 md5sums=('75e6812d85a3c1a05bd2ec8fcbdc6c6d')
13 package() {
14         cd ${srcdir}/gtkD
15         make prefix=${pkgdir}/usr DESTDIR=${pkgdir} install
16     mv ${pkgdir}/${pkgdir}/usr ${pkgdir}
17     if [[ `echo ${pkgdir} | awk '{split($0,a,"/"); print a[2]}'` != "" ]]; then
18         rm -rf ${pkgdir}/`echo ${pkgdir} | awk '{split($0,a,"/"); print a[2]}'`
19     fi