aboutsummaryrefslogtreecommitdiffstats
path: root/extra/less/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-27 14:34:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-27 14:34:16 +0000
commit5e1d1da0427ff55f4e3c46a60d3739414b375183 (patch)
tree2d27b8ae3bea74bc65f6d680eac634ef752f4497 /extra/less/APKBUILD
parentc19fef03512976452bca276641e6cc4e78a1d6b2 (diff)
downloadaports-5e1d1da0427ff55f4e3c46a60d3739414b375183.tar.gz
aports-5e1d1da0427ff55f4e3c46a60d3739414b375183.tar.bz2
aports-5e1d1da0427ff55f4e3c46a60d3739414b375183.tar.xz
extra/less: added post-deinstall script to restore busybox links
Diffstat (limited to 'extra/less/APKBUILD')
-rw-r--r--extra/less/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/extra/less/APKBUILD b/extra/less/APKBUILD
index 8b810b44fe..c7ee2ff385 100644
--- a/extra/less/APKBUILD
+++ b/extra/less/APKBUILD
@@ -2,15 +2,16 @@
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=less
pkgver=418
-pkgrel=0
+pkgrel=1
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
license="GPL"
depends="uclibc ncurses"
makedepends="ncurses-dev"
-install=
+install="$pkgname.post-deinstall"
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() {
cd "$srcdir/$pkgname-$pkgver"
@@ -21,9 +22,7 @@ build() {
--infodir=/usr/share/info
make || return 1
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"