1 # Contributor: Joseph Pintozzi <joseph.pintozzi@gmail.com>
6 pkgdesc="open-source implementation of DisplayLink USB graphics software"
8 url="http://freedesktop.org/wiki/Software/libdlo"
12 source=(http://people.freedesktop.org/~berniet/libdlo-$pkgver.tar.gz)
13 md5sums=('a7bb8ec3bdb6ce1d702794de3e4f2112')
16 cd "$srcdir/$pkgname-$pkgver"
18 ./configure --prefix=/usr --mandir=/usr/share/man
20 sed -i 's#DEFAULT_INCLUDES = -I. -I$(top_builddir)#DEFAULT_INCLUDES = -I. -I$(top_builddir) -I../src#' test/Makefile
21 sed -i 's#images/test#/usr/share/libdlo/images/test#' test/test1.c
24 make DESTDIR="$pkgdir/" install || return 1
26 mv $pkgdir/usr/bin/test1 $pkgdir/usr/bin/libdlo-test1 && \
27 mkdir -p $pkgdir/usr/share/libdlo/ && \
28 cp -r test/images $pkgdir/usr/share/libdlo/