Commit 5e1d1da0 authored by Natanael Copa's avatar Natanael Copa
Browse files

extra/less: added post-deinstall script to restore busybox links

parent c19fef03
...@@ -2,15 +2,16 @@ ...@@ -2,15 +2,16 @@
# Maintainer: Cameron Banta <cbanta@gmail.com> # Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less pkgname=less
pkgver=418 pkgver=418
pkgrel=0 pkgrel=1
pkgdesc="File pager" pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/" url="http://www.greenwoodsoftware.com/less/"
license="GPL" license="GPL"
depends="uclibc ncurses" depends="uclibc ncurses"
makedepends="ncurses-dev" makedepends="ncurses-dev"
install= install="$pkgname.post-deinstall"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz" source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
$install"
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
...@@ -21,9 +22,7 @@ build() { ...@@ -21,9 +22,7 @@ build() {
--infodir=/usr/share/info --infodir=/usr/share/info
make || return 1 make || return 1
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
} }
md5sums="b5864d76c54ddf4627fd57ab333c88b4 less-418.tar.gz" md5sums="b5864d76c54ddf4627fd57ab333c88b4 less-418.tar.gz
b84506d253e04db3c5af9016fead45a3 less.post-deinstall"
#!/bin/sh
busybox --install -s
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment