# $Id$ PNAME="mousepad" PVER="0.2.16" PBUILD="r2" PCATEGORIE="app-editors" DESCRIPTION="A simple texteditor for the XFCE Desktop Environment." DEPEND=">= dev-libs/glib2-2.28 >= x11-libs/gtk2+-2.24 >= xfce-base/libxfcegui4-4.8" sminclude xfce SRC_URI=( http://mocha.xfce.org/archive/src/apps/${PNAME}/${PVER%.*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-fix-first-replace.patch mirror://${PNAME}/${PNAME}-${PVER}-resensitize-find-button.patch ) UP2DATE="updatecmd_xfce ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # both patches fixes mousepad's broken find and replace functionality mpatch ${PNAME}-${PVER}-fix-first-replace.patch || die mpatch ${PNAME}-${PVER}-resensitize-find-button.patch || die }