# Description: A simple text editor for Xfce # URL: https://git.xfce.org/apps/mousepad/tree/README # Maintainer: David L. Craig, dlc dot usa at gmail dot com # Depends on: gtksourceview xfconf # Xfce git (https://git.xfce.org/) group: apps xfcerel=4.14 name=mousepad version=0.4.2 release=1 source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2 xfce_$xfcerel.$name ) build () { # The port's pre-install script ensured the build and/or deploy system is in the # right state to build and/or deploy this port. # Establish the $xfcerel $name file for this port: install -d -m0755 -groot -oroot $PKG/var/lib/pkg/xfce/$xfcerel install -T -m0644 -groot -oroot $SRC/xfce_$xfcerel.$name \ $PKG/var/lib/pkg/xfce/$xfcerel/$name # Build the canonical package: cd $SRC/$name-$version ./configure --prefix=/usr \ --disable-dependency-tracking \ --disable-nls make make DESTDIR=$PKG install # cleanup rm -rf $PKG/usr/share/locale find $PKG/usr/share -type f -name '*.desktop' \ -exec sed -r '/\[.+\]=/d' -i {} \; }