summaryrefslogtreecommitdiffstats
path: root/extra/nanoblogger/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-16 17:44:06 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-16 17:44:06 +0100
commit7577535d0bf6b6eefb282c137c11735c3511db24 (patch)
treef20783ea533c7c11afff5826786df27797f5c9e7 /extra/nanoblogger/Pkgfile
parent5618c6784851e1eaeef7af8cfbdde34e99950d71 (diff)
parent6b49c24b1e655ee84e31beea9a91746111fb60c7 (diff)
downloadnutyx-pakxe-7577535d0bf6b6eefb282c137c11735c3511db24.tar.gz
nutyx-pakxe-7577535d0bf6b6eefb282c137c11735c3511db24.tar.bz2
nutyx-pakxe-7577535d0bf6b6eefb282c137c11735c3511db24.tar.xz
nutyx-pakxe-7577535d0bf6b6eefb282c137c11735c3511db24.zip
Merge commit 'blanko/master'
Diffstat (limited to 'extra/nanoblogger/Pkgfile')
-rw-r--r--extra/nanoblogger/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/nanoblogger/Pkgfile b/extra/nanoblogger/Pkgfile
new file mode 100644
index 000000000..d4bd7afed
--- /dev/null
+++ b/extra/nanoblogger/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Nanoblogger est un moteur de blog écrit en BASH. Il s'utilise en ligne de commande
+# URL: http://sourceforge.net/projects/nanoblogger/
+# Maintainer: Blankoworld
+# Packager: blankoworld at wanadoo dot fr
+# Depends on: bash
+
+name=nanoblogger
+version=3.4
+release=1
+group=app
+source=( http://nanoblogger.sourceforge.net/downloads/$name-$version.tar.gz \
+http://nanoblogger.sourceforge.net/downloads/$name-extra-$version.tar.gz \
+nb.conf \
+nb)
+
+build() {
+ cd $name-$version
+ cp -r $SRC/$name-extra-$version/* $SRC/$name-$version/
+ install -d $PKG/usr/share/$name/
+ cp -Rp $SRC/$name-$version/* $PKG/usr/share/$name/
+ cp -p ../nb.conf $PKG/usr/share/$name/nb.conf
+ install -d $PKG/usr/bin/
+ cp -p ../nb $PKG/usr/bin/nb
+ chown -R root:root $PKG
+}
+