summaryrefslogtreecommitdiffstats
path: root/less/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'less/Pkgfile')
-rw-r--r--less/Pkgfile14
1 files changed, 4 insertions, 10 deletions
diff --git a/less/Pkgfile b/less/Pkgfile
index 76c0326..6b62101 100644
--- a/less/Pkgfile
+++ b/less/Pkgfile
@@ -8,15 +8,9 @@ name=less
version=429
release=1
source=(http://www.greenwoodsoftware.com/$name/$name-$version.tar.gz filter)
-build ()
-{
- cd $name-$version;
- ./configure \
- ${CBUILD:+--build=${CBUILD}} \
- ${CHOST:+--host=${CHOST}} \
- --prefix=$prefix \
- --mandir=$mandir;
- make;
- make DESTDIR=$PKG install;
+includes=(autotools)
+configure_opts=($(use_enable static))
+
+function post_build {
install -m 755 -D $SRC/filter $PKG$prefix/lib/less/filter
}