# $Id$ PNAME="kdevelop-pg-qt" PVER="1.0.0" PBUILD="r2" DESCRIPTION="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins." DEPEND=">= kde-base/kdelibs-4.14" sminclude kde4 # unusual uri-scheme SRC_URI=( kde://${PNAME}/${PVER}/src/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-bison25.patch ) UP2DATE="updatecmd -listonly http://download.kde.org/stable/${PNAME} | grep '${PNAME}/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build with bison-2.5 mpatch ${PNAME}-${PVER}-bison25.patch || die }