1 #Maintainer: Phrearch <j.veenvan@gmail.com>
2 pkgname=lib32-avahi-git
5 pkgdesc="A multicast/unicast DNS-SD framework"
10 depends=('expat' 'lib32-libdaemon' 'lib32-glib2' 'lib32-dbus-core' 'lib32-libcap' 'lib32-gdbm' 'lib32-gtk3' 'pygtk' 'pygobject')
12 md5sums=() #generate with 'makepkg -g'
13 _gitroot="git://git.0pointer.de/avahi.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
26 pushd $srcdir/$_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 sh autogen.sh --disable-qt3 --disable-manpages --disable-xmltoman
37 #no qt3, manpages require xmltoman. disable for now, since its not in aur/repo
38 ./configure --disable-qt3 --disable-manpages --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
39 --libexecdir=/usr/lib32 --libdir=/usr/lib32 \
40 --enable-introspection=no CC='gcc -m32' CXX='g++ -m32'
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir/" install
48 rm -rf ${pkgdir}/usr/{sbin,bin,lib/python2.7,include,share}