diff options
Diffstat (limited to 'system/less')
-rw-r--r-- | system/less/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/less/APKBUILD b/system/less/APKBUILD new file mode 100644 index 000000000..45290a6dc --- /dev/null +++ b/system/less/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Cameron Banta <cbanta@gmail.com> +# Maintainer: Cameron Banta <cbanta@gmail.com> +pkgname=less +pkgver=530 +pkgrel=0 +pkgdesc="File pager" +url="http://www.greenwoodsoftware.com/less/" +arch="all" +license="GPL" +options="!check" +makedepends="ncurses-dev" +subpackages="$pkgname-doc" +source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + + cd "$builddir" + chmod +x configure +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10 less-530.tar.gz" |