[arch-commits] Commit in manedit/repos (8 files)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Fri Dec 6 11:59:39 UTC 2013
Date: Friday, December 6, 2013 @ 12:59:39
Author: giovanni
Revision: 102171
archrelease: copy trunk to community-i686, community-x86_64
Added:
manedit/repos/community-i686/
manedit/repos/community-i686/PKGBUILD
(from rev 102170, manedit/trunk/PKGBUILD)
manedit/repos/community-i686/manedit-1.2.1-fix-man-page.patch
(from rev 102170, manedit/trunk/manedit-1.2.1-fix-man-page.patch)
manedit/repos/community-i686/manedit.desktop
(from rev 102170, manedit/trunk/manedit.desktop)
manedit/repos/community-x86_64/
manedit/repos/community-x86_64/PKGBUILD
(from rev 102170, manedit/trunk/PKGBUILD)
manedit/repos/community-x86_64/manedit-1.2.1-fix-man-page.patch
(from rev 102170, manedit/trunk/manedit-1.2.1-fix-man-page.patch)
manedit/repos/community-x86_64/manedit.desktop
(from rev 102170, manedit/trunk/manedit.desktop)
---------------------------------------------------+
community-i686/PKGBUILD | 56 ++++++++++++++++++++
community-i686/manedit-1.2.1-fix-man-page.patch | 15 +++++
community-i686/manedit.desktop | 9 +++
community-x86_64/PKGBUILD | 56 ++++++++++++++++++++
community-x86_64/manedit-1.2.1-fix-man-page.patch | 15 +++++
community-x86_64/manedit.desktop | 9 +++
6 files changed, 160 insertions(+)
Copied: manedit/repos/community-i686/PKGBUILD (from rev 102170, manedit/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=manedit
+pkgver=1.2.1
+pkgrel=4
+pkgdesc="An editor specifically tailored for UNIX manual pages"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://freecode.com/projects/manedit"
+depends=('gcc-libs' 'bzip2' 'zlib' 'gtk')
+source=("http://wolfsinger.com/~wolfpack/packages/${pkgname}-${pkgver}.tar.bz2"
+ 'manedit-1.2.1-fix-man-page.patch'
+ 'manedit.desktop')
+md5sums=('a7ee1835e32ed3c9279412af7caf13ef'
+ '60cb0c224a6659f8a8183006608f368b'
+ 'bac6986fc25dda6f0e27e3673eef4600')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Patch to fix generate man page
+ patch -Np1 -i ${srcdir}/manedit-1.2.1-fix-man-page.patch
+
+ env CFLAGS="${CFLAGS}" \
+ ./configure Linux \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --datadir=/usr/share \
+ --enable=bzip2 \
+ --enable=zlib \
+ --disable="arch-i486" \
+ --disable="arch-i586" \
+ --disable="arch-i686" \
+ --disable="arch-pentiumpro"
+
+ make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix strip error (tries to strip a shell script)
+ cp manedit/Makefile.install.UNIX{,.orig}
+ sed -e '/INST.*FLAGS.*-s$/s:-s::' \
+ manedit/Makefile.install.UNIX.orig > manedit/Makefile.install.UNIX
+
+ # Set man dir too or FHS is violated
+ make PREFIX="${pkgdir}/usr" \
+ MAN_DIR="${pkgdir}/usr/share/man/man1" \
+ ICONS_DIR="${pkgdir}/usr/share/pixmaps" install
+
+ # Install desktop file
+ install -Dm644 ${srcdir}/manedit.desktop "${pkgdir}/usr/share/applications/manedit.desktop"
+}
Copied: manedit/repos/community-i686/manedit-1.2.1-fix-man-page.patch (from rev 102170, manedit/trunk/manedit-1.2.1-fix-man-page.patch)
===================================================================
--- community-i686/manedit-1.2.1-fix-man-page.patch (rev 0)
+++ community-i686/manedit-1.2.1-fix-man-page.patch 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,15 @@
+--- a/manedit/makefile_append.ini 2008-10-11 16:00:00.000000000 -0700
++++ b/manedit/makefile_append.ini 2009-11-20 15:33:47.000000000 -0800
+@@ -39,9 +39,9 @@
+
+ manpage:
+ @echo "Generating manual page $(BIN).1.bz2"
+- @-$(SED) 's|%%PREFIX%%|$(PREFIX)|g ; \
+- s|%%LOCALBASE%%|${LOCALBASE}|g ; \
+- s|%%X11BASE%%|${X11BASE}|g' $(BIN).1 > $(BIN).1.out
++ @-$(SED) -e 's|%%PREFIX%%|$(PREFIX)|g ;' \
++ -e 's|%%LOCALBASE%%|${LOCALBASE}|g ;' \
++ -e 's|%%X11BASE%%|${X11BASE}|g' $(BIN).1 > $(BIN).1.out
+ @-$(BZIP2) $(BIN).1.out --stdout > $(BIN).1.bz2
+
+ modules: $(OBJ_C) $(OBJ_CPP)
Copied: manedit/repos/community-i686/manedit.desktop (from rev 102170, manedit/trunk/manedit.desktop)
===================================================================
--- community-i686/manedit.desktop (rev 0)
+++ community-i686/manedit.desktop 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Manpage Editor
+Comment=Create and edit UNIX manual pages
+Icon=/usr/share/pixmaps/manedit.xpm
+Exec=manedit
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Development;
+StartupNotify=true
\ No newline at end of file
Copied: manedit/repos/community-x86_64/PKGBUILD (from rev 102170, manedit/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=manedit
+pkgver=1.2.1
+pkgrel=4
+pkgdesc="An editor specifically tailored for UNIX manual pages"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://freecode.com/projects/manedit"
+depends=('gcc-libs' 'bzip2' 'zlib' 'gtk')
+source=("http://wolfsinger.com/~wolfpack/packages/${pkgname}-${pkgver}.tar.bz2"
+ 'manedit-1.2.1-fix-man-page.patch'
+ 'manedit.desktop')
+md5sums=('a7ee1835e32ed3c9279412af7caf13ef'
+ '60cb0c224a6659f8a8183006608f368b'
+ 'bac6986fc25dda6f0e27e3673eef4600')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Patch to fix generate man page
+ patch -Np1 -i ${srcdir}/manedit-1.2.1-fix-man-page.patch
+
+ env CFLAGS="${CFLAGS}" \
+ ./configure Linux \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --datadir=/usr/share \
+ --enable=bzip2 \
+ --enable=zlib \
+ --disable="arch-i486" \
+ --disable="arch-i586" \
+ --disable="arch-i686" \
+ --disable="arch-pentiumpro"
+
+ make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix strip error (tries to strip a shell script)
+ cp manedit/Makefile.install.UNIX{,.orig}
+ sed -e '/INST.*FLAGS.*-s$/s:-s::' \
+ manedit/Makefile.install.UNIX.orig > manedit/Makefile.install.UNIX
+
+ # Set man dir too or FHS is violated
+ make PREFIX="${pkgdir}/usr" \
+ MAN_DIR="${pkgdir}/usr/share/man/man1" \
+ ICONS_DIR="${pkgdir}/usr/share/pixmaps" install
+
+ # Install desktop file
+ install -Dm644 ${srcdir}/manedit.desktop "${pkgdir}/usr/share/applications/manedit.desktop"
+}
Copied: manedit/repos/community-x86_64/manedit-1.2.1-fix-man-page.patch (from rev 102170, manedit/trunk/manedit-1.2.1-fix-man-page.patch)
===================================================================
--- community-x86_64/manedit-1.2.1-fix-man-page.patch (rev 0)
+++ community-x86_64/manedit-1.2.1-fix-man-page.patch 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,15 @@
+--- a/manedit/makefile_append.ini 2008-10-11 16:00:00.000000000 -0700
++++ b/manedit/makefile_append.ini 2009-11-20 15:33:47.000000000 -0800
+@@ -39,9 +39,9 @@
+
+ manpage:
+ @echo "Generating manual page $(BIN).1.bz2"
+- @-$(SED) 's|%%PREFIX%%|$(PREFIX)|g ; \
+- s|%%LOCALBASE%%|${LOCALBASE}|g ; \
+- s|%%X11BASE%%|${X11BASE}|g' $(BIN).1 > $(BIN).1.out
++ @-$(SED) -e 's|%%PREFIX%%|$(PREFIX)|g ;' \
++ -e 's|%%LOCALBASE%%|${LOCALBASE}|g ;' \
++ -e 's|%%X11BASE%%|${X11BASE}|g' $(BIN).1 > $(BIN).1.out
+ @-$(BZIP2) $(BIN).1.out --stdout > $(BIN).1.bz2
+
+ modules: $(OBJ_C) $(OBJ_CPP)
Copied: manedit/repos/community-x86_64/manedit.desktop (from rev 102170, manedit/trunk/manedit.desktop)
===================================================================
--- community-x86_64/manedit.desktop (rev 0)
+++ community-x86_64/manedit.desktop 2013-12-06 11:59:39 UTC (rev 102171)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Manpage Editor
+Comment=Create and edit UNIX manual pages
+Icon=/usr/share/pixmaps/manedit.xpm
+Exec=manedit
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Development;
+StartupNotify=true
\ No newline at end of file
More information about the arch-commits
mailing list