[arch-commits] Commit in enscript/repos (6 files)
Eric Bélanger
eric at nymeria.archlinux.org
Thu Jul 4 03:34:44 UTC 2013
Date: Thursday, July 4, 2013 @ 05:34:44
Author: eric
Revision: 189649
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
enscript/repos/extra-i686/PKGBUILD
(from rev 189648, enscript/trunk/PKGBUILD)
enscript/repos/extra-i686/enscript.install
(from rev 189648, enscript/trunk/enscript.install)
enscript/repos/extra-x86_64/PKGBUILD
(from rev 189648, enscript/trunk/PKGBUILD)
enscript/repos/extra-x86_64/enscript.install
(from rev 189648, enscript/trunk/enscript.install)
Deleted:
enscript/repos/extra-i686/PKGBUILD
enscript/repos/extra-x86_64/PKGBUILD
-------------------------------+
/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 31 -------------------
extra-i686/enscript.install | 15 +++++++++
extra-x86_64/PKGBUILD | 31 -------------------
extra-x86_64/enscript.install | 15 +++++++++
5 files changed, 94 insertions(+), 62 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2013-07-04 03:34:18 UTC (rev 189648)
+++ extra-i686/PKGBUILD 2013-07-04 03:34:44 UTC (rev 189649)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=enscript
-pkgver=1.6.5.2
-pkgrel=2
-pkgdesc="Convert ASCII files to PostScript suitable for printing"
-arch=('i686' 'x86_64')
-backup=('etc/enscript/enscript.cfg')
-depends=('glibc')
-license=('GPL2')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('c1d2a0d4b44ca30634742b299881b0e2')
-url="http://git.savannah.gnu.org/cgit/enscript.git"
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc/enscript --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr \
- sysconfdir=$pkgdir/etc/enscript mandir=$pkgdir/usr/share/man \
- infodir=$pkgdir/usr/share/info install
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: enscript/repos/extra-i686/PKGBUILD (from rev 189648, enscript/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-07-04 03:34:44 UTC (rev 189649)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=enscript
+pkgver=1.6.6
+pkgrel=1
+pkgdesc="Convert ASCII files to PostScript suitable for printing"
+arch=('i686' 'x86_64')
+url="http://git.savannah.gnu.org/cgit/enscript.git"
+license=('GPL3')
+depends=('glibc')
+backup=('etc/enscript/enscript.cfg')
+install=enscript.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('3acc242b829adacabcaf28533f049afd')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/enscript
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: enscript/repos/extra-i686/enscript.install (from rev 189648, enscript/trunk/enscript.install)
===================================================================
--- extra-i686/enscript.install (rev 0)
+++ extra-i686/enscript.install 2013-07-04 03:34:44 UTC (rev 189649)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info "$infodir/enscript.info.gz" "$infodir/dir" 2> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete "$infodir/enscript.info.gz" "$infodir/dir" 2> /dev/null
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2013-07-04 03:34:18 UTC (rev 189648)
+++ extra-x86_64/PKGBUILD 2013-07-04 03:34:44 UTC (rev 189649)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=enscript
-pkgver=1.6.5.2
-pkgrel=2
-pkgdesc="Convert ASCII files to PostScript suitable for printing"
-arch=('i686' 'x86_64')
-backup=('etc/enscript/enscript.cfg')
-depends=('glibc')
-license=('GPL2')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('c1d2a0d4b44ca30634742b299881b0e2')
-url="http://git.savannah.gnu.org/cgit/enscript.git"
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc/enscript --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr \
- sysconfdir=$pkgdir/etc/enscript mandir=$pkgdir/usr/share/man \
- infodir=$pkgdir/usr/share/info install
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: enscript/repos/extra-x86_64/PKGBUILD (from rev 189648, enscript/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-07-04 03:34:44 UTC (rev 189649)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=enscript
+pkgver=1.6.6
+pkgrel=1
+pkgdesc="Convert ASCII files to PostScript suitable for printing"
+arch=('i686' 'x86_64')
+url="http://git.savannah.gnu.org/cgit/enscript.git"
+license=('GPL3')
+depends=('glibc')
+backup=('etc/enscript/enscript.cfg')
+install=enscript.install
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('3acc242b829adacabcaf28533f049afd')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/enscript
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: enscript/repos/extra-x86_64/enscript.install (from rev 189648, enscript/trunk/enscript.install)
===================================================================
--- extra-x86_64/enscript.install (rev 0)
+++ extra-x86_64/enscript.install 2013-07-04 03:34:44 UTC (rev 189649)
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info "$infodir/enscript.info.gz" "$infodir/dir" 2> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete "$infodir/enscript.info.gz" "$infodir/dir" 2> /dev/null
+}
More information about the arch-commits
mailing list