[arch-commits] Commit in ed/repos (8 files)
Dave Reisner
dreisner at archlinux.org
Sat Dec 22 18:16:53 UTC 2012
Date: Saturday, December 22, 2012 @ 13:16:53
Author: dreisner
Revision: 173766
db-move: moved ed from [testing] to [core] (i686, x86_64)
Added:
ed/repos/core-i686/PKGBUILD
(from rev 173765, ed/repos/testing-i686/PKGBUILD)
ed/repos/core-i686/ed.install
(from rev 173765, ed/repos/testing-i686/ed.install)
ed/repos/core-x86_64/PKGBUILD
(from rev 173765, ed/repos/testing-x86_64/PKGBUILD)
ed/repos/core-x86_64/ed.install
(from rev 173765, ed/repos/testing-x86_64/ed.install)
Deleted:
ed/repos/core-i686/PKGBUILD
ed/repos/core-x86_64/PKGBUILD
ed/repos/testing-i686/
ed/repos/testing-x86_64/
------------------------+
core-i686/PKGBUILD | 74 ++++++++++++++++++++++-------------------------
core-i686/ed.install | 18 +++++++++++
core-x86_64/PKGBUILD | 74 ++++++++++++++++++++++-------------------------
core-x86_64/ed.install | 18 +++++++++++
4 files changed, 108 insertions(+), 76 deletions(-)
Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD 2012-12-22 16:44:33 UTC (rev 173765)
+++ core-i686/PKGBUILD 2012-12-22 18:16:53 UTC (rev 173766)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ed
-pkgver=1.7
-pkgrel=1
-pkgdesc="A POSIX-compliant line-oriented text editor"
-arch=('i686' 'x86_64')
-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=('0aa4e2428e325203d0d7c3e86c961b1c')
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/ \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- "CFLAGS=$CFLAGS" \
- "LDFLAGS=$LDFLAGS"
-
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" check
-}
-
-package() {
- make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
-
- # nuke info pages
- rm -r "$pkgdir/usr/share/info"
-}
Copied: ed/repos/core-i686/PKGBUILD (from rev 173765, ed/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2012-12-22 18:16:53 UTC (rev 173766)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.7
+pkgrel=2
+pkgdesc="A POSIX-compliant line-oriented text editor"
+arch=('i686' 'x86_64')
+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)
+install='ed.install'
+md5sums=('0aa4e2428e325203d0d7c3e86c961b1c')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/ \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ "CFLAGS=$CFLAGS" \
+ "LDFLAGS=$LDFLAGS"
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
+}
Copied: ed/repos/core-i686/ed.install (from rev 173765, ed/repos/testing-i686/ed.install)
===================================================================
--- core-i686/ed.install (rev 0)
+++ core-i686/ed.install 2012-12-22 18:16:53 UTC (rev 173766)
@@ -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
+}
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2012-12-22 16:44:33 UTC (rev 173765)
+++ core-x86_64/PKGBUILD 2012-12-22 18:16:53 UTC (rev 173766)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ed
-pkgver=1.7
-pkgrel=1
-pkgdesc="A POSIX-compliant line-oriented text editor"
-arch=('i686' 'x86_64')
-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=('0aa4e2428e325203d0d7c3e86c961b1c')
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/ \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- "CFLAGS=$CFLAGS" \
- "LDFLAGS=$LDFLAGS"
-
- make
-}
-
-check() {
- make -C "$pkgname-$pkgver" check
-}
-
-package() {
- make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
-
- # nuke info pages
- rm -r "$pkgdir/usr/share/info"
-}
Copied: ed/repos/core-x86_64/PKGBUILD (from rev 173765, ed/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2012-12-22 18:16:53 UTC (rev 173766)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.7
+pkgrel=2
+pkgdesc="A POSIX-compliant line-oriented text editor"
+arch=('i686' 'x86_64')
+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)
+install='ed.install'
+md5sums=('0aa4e2428e325203d0d7c3e86c961b1c')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/ \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ "CFLAGS=$CFLAGS" \
+ "LDFLAGS=$LDFLAGS"
+
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
+}
Copied: ed/repos/core-x86_64/ed.install (from rev 173765, ed/repos/testing-x86_64/ed.install)
===================================================================
--- core-x86_64/ed.install (rev 0)
+++ core-x86_64/ed.install 2012-12-22 18:16:53 UTC (rev 173766)
@@ -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
+}
More information about the arch-commits
mailing list