xfce/mousepad/Pkgfile
Leo Unglaub 450f4453c3 mousepad: Update to 0.4.0
This commit updates mousepad to version 0.4.0. This
is the first version depending on GTK3.

Signed-off-by: Leo Unglaub <leo@leo-unglaub.net>
2015-03-05 03:47:51 +00:00

40 lines
841 B
Plaintext

# Description: Text editor for Xfce
# URL: http://git.xfce.org/apps/mousepad/
# Maintainer: CRUX Xfce Team, xfce-ports at crux dot nu
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: libxfcegui4 gtksourceview
# Group: xfce4
name=mousepad
version=0.4.0
release=1
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)
build ()
{
# go into the source directory
cd $SRC/$name-$version
# configure mousepad
./configure \
--prefix=/usr \
--disable-static \
--disable-debug \
--disable-dbus \
--disable-dependency-tracking \
--disable-nls \
--enable-gtk3
# make mousepad
make
make DESTDIR=$PKG install
# cleanup some stuff we dont need
rm -rf $PKG/usr/share/locale
find $PKG/usr/share -type f -name '*.desktop' \
-exec sed -r '/\[.+\]=/d' -i {} \;
}