From e3ffa9e8b3bed13bfe635c7f89721cac5f3f1fd7 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 30 Sep 2009 09:08:53 +0200 Subject: [PATCH] Fixed identation in leafpad, nut and pymp --- leafpad/Pkgfile | 12 +++++------ nut/Pkgfile | 54 ++++++++++++++++++++++++------------------------- pymp/Pkgfile | 6 +++--- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/leafpad/Pkgfile b/leafpad/Pkgfile index 0adc3e774..aac7806f0 100644 --- a/leafpad/Pkgfile +++ b/leafpad/Pkgfile @@ -9,11 +9,11 @@ release=1 source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz) build() { - cd $name-$version - ./configure --prefix=/usr \ - --enable-chooser + cd $name-$version + ./configure --prefix=/usr \ + --enable-chooser - make - make DESTDIR=$PKG install - rm -r {$PKG/usr/share/locale,$PKG/usr/share/icons} + make + make DESTDIR=$PKG install + rm -r {$PKG/usr/share/locale,$PKG/usr/share/icons} } diff --git a/nut/Pkgfile b/nut/Pkgfile index 2b05823b9..0dca00c7c 100644 --- a/nut/Pkgfile +++ b/nut/Pkgfile @@ -7,33 +7,33 @@ name=nut version=2.2.2 release=1 source=(http://www.networkupstools.org/source/2.2/$name-$version.tar.gz \ - upsd) + upsd) build() { - cd $name-$version - ./configure --prefix=/usr \ - --disable-nls \ - --with-user=nut \ - --with-group=nut \ - --with-usb \ - --with-lib \ - --mandir=/usr/man \ - --sysconfdir=/etc/$name \ - --sbindir=/usr/sbin/ \ - --datadir=/usr/share/$name \ - --localstatedir=/var/$name - make - make usb - make DESTDIR=$PKG install - make DESTDIR=$PKG/etc/nut/ install-conf - rm -r $PKG/etc/nut/etc/ - rmdir $PKG/usr/{lib/pkgconfig,include} - #if you dont want config templates uncomment the next line - #rm $PKG/etc/nut/* - mkdir -p $PKG/etc/udev/rules.d/ - install -D -m 755 $SRC/upsd $PKG/etc/rc.d/upsd - rmdir $PKG/usr/cgi-bin $PKG/usr/html - mkdir -p $PKG/var/state/ups - chmod 0770 $PKG/var/state/ups - chown root:nut $PKG/var/state/ups + cd $name-$version + ./configure --prefix=/usr \ + --disable-nls \ + --with-user=nut \ + --with-group=nut \ + --with-usb \ + --with-lib \ + --mandir=/usr/man \ + --sysconfdir=/etc/$name \ + --sbindir=/usr/sbin/ \ + --datadir=/usr/share/$name \ + --localstatedir=/var/$name + make + make usb + make DESTDIR=$PKG install + make DESTDIR=$PKG/etc/nut/ install-conf + rm -r $PKG/etc/nut/etc/ + rmdir $PKG/usr/{lib/pkgconfig,include} + #if you dont want config templates uncomment the next line + #rm $PKG/etc/nut/* + mkdir -p $PKG/etc/udev/rules.d/ + install -D -m 755 $SRC/upsd $PKG/etc/rc.d/upsd + rmdir $PKG/usr/cgi-bin $PKG/usr/html + mkdir -p $PKG/var/state/ups + chmod 0770 $PKG/var/state/ups + chown root:nut $PKG/var/state/ups } diff --git a/pymp/Pkgfile b/pymp/Pkgfile index 6dde29260..e7dce4416 100644 --- a/pymp/Pkgfile +++ b/pymp/Pkgfile @@ -1,4 +1,4 @@ -# Description: A simple media player written in Python. +# Description: A simple media player written in Python. # URL: http://jaydolan.com/pymp.html # Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org # Maintainer: Victor Martinez, pitillo at ono dot com @@ -10,7 +10,7 @@ release=1 source=(http://jdolan.dyndns.org/jaydolan/files/$name-$version.tar.bz2) build(){ - cd $name-$version - make + cd $name-$version + make make DESTDIR=$PKG PREFIX=/usr install }