summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:46:07 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:46:07 (GMT)
commit0b0821f89efdc3c8a72c455258017b75d7322576 (patch)
treea981bc4490b83317c113b61e02a729bcf14da3b3 /abs
parent5e29a75f3f39cc350d4fb0cd4ca52d2c03cae549 (diff)
downloadlinhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.zip
linhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.tar.gz
linhes_pkgbuild-0b0821f89efdc3c8a72c455258017b75d7322576.tar.bz2
ed: 1.9
refs #961
Diffstat (limited to 'abs')
-rw-r--r--abs/core/ed/PKGBUILD14
-rw-r--r--abs/core/ed/ed.install18
2 files changed, 25 insertions, 7 deletions
diff --git a/abs/core/ed/PKGBUILD b/abs/core/ed/PKGBUILD
index dac07e3..96ba7fe 100644
--- a/abs/core/ed/PKGBUILD
+++ b/abs/core/ed/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 146434 2012-01-11 04:50:27Z dreisner $
+# $Id: PKGBUILD 189480 2013-07-03 11:36:49Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=ed
-pkgver=1.6
+pkgver=1.9
pkgrel=1
pkgdesc="A POSIX-compliant line-oriented text editor"
arch=('i686' 'x86_64')
@@ -11,13 +11,16 @@ license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
depends=('glibc' 'sh')
options=('!emptydirs')
-source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9a78593decccaa889523aa4bb555ed4b')
+source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.gz"{,.sig})
+install='ed.install'
+md5sums=('565b6d1d5a9a8816b9b304fc4ed9405d'
+ 'SKIP')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/ \
+ --bindir=/usr/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
"CFLAGS=$CFLAGS" \
@@ -32,7 +35,4 @@ check() {
package() {
make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
-
- # nuke info pages
- rm -r "$pkgdir/usr/share/info"
}
diff --git a/abs/core/ed/ed.install b/abs/core/ed/ed.install
new file mode 100644
index 0000000..2be95d9
--- /dev/null
+++ b/abs/core/ed/ed.install
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ed.info)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2>/dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2>/dev/null
+ done
+}