[Frugalware-devel] Need review: yokadi and autojump (+ scm.sh bug)

Othmane Benkirane eo at rhyhann.net
Fri Feb 20 23:11:29 CET 2009


Hello,
Here it is, I have made two package for the only benefit of the Frugalware
community !
The first one is fairly easy to integrate:
---
# Compiling Time: 0 SBU
# Maintainer:
# Contributor: Othmane Benkirane <eo-at-rhyhann-net>

# Package
pkgname=yokadi
pkgver=0.9.0
pkgrel=1
pkgdesc="Command line oriented, sqlite powered, todo list (in python)"
url="http://$pkgname.github.com/"

# Pacman
depends=('python' 'python-sqlobject')
groups=(apps-extra)

# Compilation
archs=('i686')
up2date="lynx -dump http://yokadi.github.com/download.html | grep
yokadi-\*.\* | Flasttarbz2"
source=(http://$pkgname.github.com/download/$pkgname-$pkgver.tar.bz2)
sha1sums=('bb7dccd891d1943470f375b08aa08f3884abdc4a')
Finclude python
build() {
  Fmkdir $_F_python_libdir/yokadi
  Fmkdir usr/bin
  Fcd
  Fcprrel  "*" $_F_python_libdir/yokadi
  Fwrapper "python /$_F_python_libdir/yokadi/yokadi.py" yokadi
}
---

The second has a problem with the version. I had to do it because that's what
git's up2date gives me. If you can correct this bug, please do it. If you
can't, just remember that the installation was successful.
---
# Compiling Time: 0 SBU
# Maintainer:
# Contributor: Othmane Benkirane <eo-at-rhyhann-net>

# Package
pkgname=autojump
rpkgver=20090220
pkgver=$rpkgver.gf31336f
pkgrel=1
pkgdesc="An ameliorated 'cd' with completion and list of most used
directories"
license=('GPL')
url="http://wiki.github.com/autojump"

# Pacman
depends=('bash' 'python')
groups=(apps-extra)

# Compilation
archs=('i686')
_F_scm_type='git'
_F_scm_url="http://github.com/joelthelion/autojump.git"
_F_cd_path="$pkgname"
Finclude scm
build() {
  Fmkdir usr/bin
  Fmkdir etc/profile.d
  Funpack_scm
  Fcd
  Fexerel autojump      usr/bin/
  Fexerel autojump.sh   etc/profile.d/
  Fexerel autojump.bash etc/profile.d/
  Fmanrel autojump.1
}
---
Anyway, I'm directly giving the git patches (by the way, I have reported
cairo-compmgr's bug in a previous email as well as git patches for two other
programs, but with no answer)

May you never be alone on Valentine's Day,
Othmane Benkirane.
-------------- next part --------------
>From 31f97c12fc57fb78a3a21230382dbfaa7b66f386 Mon Sep 17 00:00:00 2001
From: Othmane Benkirane <eo at rhyhann.net>
Date: Fri, 20 Feb 2009 21:33:38 +0000
Subject: [PATCH] autojump-20090220.gf31336f-1-i686

---
 source/apps-extra/autojump/FrugalBuild |   33 ++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 source/apps-extra/autojump/FrugalBuild

diff --git a/source/apps-extra/autojump/FrugalBuild b/source/apps-extra/autojump/FrugalBuild
new file mode 100644
index 0000000..95755e3
--- /dev/null
+++ b/source/apps-extra/autojump/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0 SBU
+# Maintainer:
+# Contributor: Othmane Benkirane <eo-at-rhyhann-net>
+
+# Package
+pkgname=autojump
+rpkgver=20090220
+pkgver=$rpkgver.gf31336f
+pkgrel=1
+pkgdesc="An ameliorated 'cd' with completion and list of most used directories"
+license=('GPL')
+url="http://wiki.github.com/autojump"
+
+# Pacman
+depends=('bash' 'python')
+groups=(apps-extra)
+
+# Compilation
+archs=('i686')
+_F_scm_type='git'
+_F_scm_url="http://github.com/joelthelion/autojump.git"
+_F_cd_path="$pkgname"
+Finclude scm
+build() {
+  Fmkdir usr/bin
+  Fmkdir etc/profile.d
+  Funpack_scm
+  Fcd
+  Fexerel autojump      usr/bin/
+  Fexerel autojump.sh   etc/profile.d/
+  Fexerel autojump.bash etc/profile.d/
+  Fmanrel autojump.1
+}
-- 
1.6.1.3

-------------- next part --------------
>From 8a92d6750cddc913a2c9f1c3f02a6775ae301f2a Mon Sep 17 00:00:00 2001
From: Othmane Benkirane <eo at rhyhann.net>
Date: Fri, 20 Feb 2009 22:00:51 +0000
Subject: [PATCH] yokadi-0.9.0-1-i686

---
 source/apps-extra/yokadi/FrugalBuild |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 source/apps-extra/yokadi/FrugalBuild

diff --git a/source/apps-extra/yokadi/FrugalBuild b/source/apps-extra/yokadi/FrugalBuild
new file mode 100644
index 0000000..26ca79e
--- /dev/null
+++ b/source/apps-extra/yokadi/FrugalBuild
@@ -0,0 +1,29 @@
+# Compiling Time: 0 SBU
+# Maintainer:
+# Contributor: Othmane Benkirane <eo-at-rhyhann-net>
+
+# Package
+pkgname=yokadi
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Command line oriented, sqlite powered, todo list (in python)"
+url="http://$pkgname.github.com/"
+
+# Pacman
+depends=('python' 'python-sqlobject')
+groups=(apps-extra)
+
+# Compilation
+archs=('i686')
+up2date="lynx -dump http://yokadi.github.com/download.html | grep yokadi-\*.\* | Flasttarbz2"
+source=(http://$pkgname.github.com/download/$pkgname-$pkgver.tar.bz2)
+sha1sums=('bb7dccd891d1943470f375b08aa08f3884abdc4a')
+Finclude python
+build() {
+  Fmkdir                                               $_F_python_libdir/yokadi
+  Fmkdir                                               usr/bin
+  Fcd
+  Fcprrel  "*"                                         $_F_python_libdir/yokadi
+  Fwrapper "python /$_F_python_libdir/yokadi/yokadi.py" yokadi
+
+}
-- 
1.6.1.3



More information about the Frugalware-devel mailing list