summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /gnu
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'gnu')
-rw-r--r--gnu/README1
-rw-r--r--gnu/gnun/PKGBUILD31
-rw-r--r--gnu/recutils/ChangeLog36
-rw-r--r--gnu/recutils/PKGBUILD42
-rw-r--r--gnu/recutils/recutils.install36
5 files changed, 146 insertions, 0 deletions
diff --git a/gnu/README b/gnu/README
new file mode 100644
index 000000000..1b506dae2
--- /dev/null
+++ b/gnu/README
@@ -0,0 +1 @@
+This repo is for GNU software needed for some gnu.org tasks
diff --git a/gnu/gnun/PKGBUILD b/gnu/gnun/PKGBUILD
new file mode 100644
index 000000000..00b5b8116
--- /dev/null
+++ b/gnu/gnun/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+#
+
+pkgname=gnun
+pkgver=0.4
+pkgrel=1
+arch=('any')
+license=('GPL3')
+pkgdesc="Build system for gnu.org translations"
+url="http://www.gnu.org/software/gnun/"
+depends=('guile' 'po4a' 'libxml2')
+makedepends=('heirloom-mailx' 'cvs' 'svn')
+optdepends=('cvs: for CVS support'
+ 'subversion: for Subversion support')
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('3baf8a16cc017e6335e65975c7223ac8'
+ '9bd1bada0b07154cf3e1c1cf937194e7')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib
+
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install install-info
+}
diff --git a/gnu/recutils/ChangeLog b/gnu/recutils/ChangeLog
new file mode 100644
index 000000000..02a3a418d
--- /dev/null
+++ b/gnu/recutils/ChangeLog
@@ -0,0 +1,36 @@
+recutils (1.5-1)
+
+ * New upstream release
+ - Version 1.5 (13 January 2012)
+ - The utilities will now ask interactively for a password
+ if it was not provided with the -s command line option.
+ This avoids security problems related to shell history files.
+ - Support for octal and hexadecimal numbers has been added.
+ They can be used in both the records and selection expressions.
+ - It is now possible to select a given number of random records
+ in many of the utilities using the -m command line option.
+ - The -n option now accepts a list of indexes, supporting ranges.
+ - The new -U (uniq) option for recsel removes duplicated fields
+ in the output records.
+ - The new -q option allows to quickly search for the desired record
+ without having to provide a complete selection expression.
+ - Auto generated fields are now considered integers by default.
+ This avoids repetitive patterns involving %auto and %type.
+ - Tab characters are now allowed in blank lines betwwen records.
+ - The API in rec.h is now better documented with comments, and improved.
+ - recfix now exits with an error status
+ if there is a parse error in some input file.
+ - The usage of the internal data structures has been _vastly_ improved,
+ resulting in a much faster operation.
+ - Internal cleanup and code factorization.
+ - Many, many, many bug fixes :D
+ * PKGBUILD
+ - commenting out "makedepends=(mdbtools)" for now
+ because the current "mdbtools" package from the AUR
+ is missing 'MDB_NOFLAGS' in the "mdbtools.h" file.
+ - all other dependencies to compile and run recutils
+ are already satisfied through the 'base' group.
+ * Added some examples
+
+ -- Sven Wick <sven.wick@gmx.de> Fri, 20 Jan 2012 16:04:02 +0100
+
diff --git a/gnu/recutils/PKGBUILD b/gnu/recutils/PKGBUILD
new file mode 100644
index 000000000..519c0fa6f
--- /dev/null
+++ b/gnu/recutils/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Max Meyer <dev@fedux.org>
+# Contributor: Sven Wick <sven.wick@gmx.de>
+#
+# Please fork and send me a pull request for changes to package build file(s)
+# Url: https://github.com/maxmeyer/archlinux-recutils
+#
+
+pkgname=recutils
+pkgver=1.5
+pkgrel=1
+pkgdesc="GNU tools and libraries to access human-editable, text-based databases."
+arch=(i686 x86_64 mips64el)
+url="http://www.gnu.org/software/recutils/"
+license=('GPL3')
+depends=(libgcrypt curl)
+optdepends=("mdbtools: for processing M$ Access databases")
+#options=()
+install=recutils.install
+changelog=ChangeLog
+source=("http://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz")
+sha256sums=('7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec')
+options=(!libtool)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/gnu/recutils/recutils.install b/gnu/recutils/recutils.install
new file mode 100644
index 000000000..245c7ae01
--- /dev/null
+++ b/gnu/recutils/recutils.install
@@ -0,0 +1,36 @@
+_infodir=/usr/share/info
+_infofiles=( recutils.info.gz )
+
+_mandir=/usr/share/man/man1
+_manfiles=( csv2rec.1.gz rec2csv.1.gz recdel.1.gz recfix.1.gz recfmt.1.gz recinf.1.gz recins.1.gz recsel.1.gz recset.1.gz)
+
+## arg 1: the new package version
+post_install() {
+ [ -x /usr/bin/mandb ] || return 0
+ for _file in ${_manfiles[@]}; do
+ mandb -f $_mandir/$_file
+ done
+
+ [ -x /usr/bin/install-info ] || return 0
+ for _file in ${_infofiles[@]}; do
+ install-info $_infodir/$_file $_infodir/dir #2> /dev/null
+ done
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x /usr/bin/mandb ] || return 0
+ mandb
+
+ [ -x /usr/bin/install-info ] || return 0
+ for _file in ${_infofiles[@]}; do
+ install-info --delete $_infodir/$_file $_infodir/dir #2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et: