import 'compile/configure' name=volumeicon version=0.5.1 update_url="http://nullwise.com/$name.html" define_option 'gtk3: Build with gtk3 support' dlextract "http://nullwise.com/files/$name/$name-$version.tar.gz" \ '48230f3a1843fa4cc4ec97d0da35c3f5' if option !gtk3; then dlfile 'https://aur.archlinux.org/cgit/aur.git/plain/gtk2.patch?h=volumeicon-gtk2&id=213b105a3ead8ad197d2b9c41484abc5dc6627ab' \ 'eee04eeff1c5cfdd58e47c4528ee91a1' fi header_end cd "$name-$version" sed -i -e 's/-DCOMPILEWITH_NOTIFY/ &/' ./configure.ac sed -i -e 's/-DCOMPILEWITH_NOTIFY/ &/' ./configure if option !gtk3; then patch -p2 -i ../gtk2.patch autoreconf -i fi compile_configure -- --enable-notify # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: