[arch-commits] Commit in offlineimap/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Mon Sep 30 02:07:53 UTC 2013


    Date: Monday, September 30, 2013 @ 04:07:53
  Author: bisson
Revision: 97813

no bikeshedding from non-maintainers

Modified:
  offlineimap/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-30 02:00:27 UTC (rev 97812)
+++ PKGBUILD	2013-09-30 02:07:53 UTC (rev 97813)
@@ -13,7 +13,7 @@
 license=('GPL')
 depends=('python2')
 makedepends=('python2-docutils')
-source=("http://cloud.github.com/downloads/spaetz/offlineimap/offlineimap-v$pkgver.tar.gz"
+source=("http://cloud.github.com/downloads/spaetz/offlineimap/offlineimap-v${pkgver}.tar.gz"
         '00-fix-readonly.patch'
         '01-properly-detect-readonly-folders.patch')
 sha1sums=('a9ad5f32f8bc0ec042f8059ea9d34282bb8b682a'
@@ -21,26 +21,24 @@
           'd0b9f816c05b0b3cac352fce29ca6920ef598bb2')
 
 prepare() {
-    cd spaetz-offlineimap-*
-    patch -p1 -i "$srcdir/00-fix-readonly.patch"
-    patch -p1 -i "$srcdir/01-properly-detect-readonly-folders.patch"
-    find . -type f -exec \
-        sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-    sed -i 's/\^/=/g' docs/MANUAL.rst
+	cd "${srcdir}"/spaetz-offlineimap-*
+	patch -p1 -i ../00-fix-readonly.patch
+	patch -p1 -i ../01-properly-detect-readonly-folders.patch
+	find . -type f -exec \
+		sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
+	sed -i 's/\^/=/g' docs/MANUAL.rst
 }
 
 build() {
-    cd spaetz-offlineimap-*
-    python2 setup.py build
-    rst2man2 docs/MANUAL.rst offlineimap.1
+	cd "${srcdir}"/spaetz-offlineimap-*
+	python2 setup.py build
+	rst2man2 docs/MANUAL.rst offlineimap.1
 }
 
 package() {
-    cd spaetz-offlineimap-*
-    python2 setup.py install --root="$pkgdir" --optimize=1
-    install -Dm644 offlineimap.1 "$pkgdir"/usr/share/man/man1/offlineimap.1
-    install -Dm644 offlineimap.conf "$pkgdir"/usr/share/offlineimap/offlineimap.conf
-    install -Dm644 offlineimap.conf.minimal "$pkgdir"/usr/share/offlineimap/offlineimap.conf.minimal
+	cd "${srcdir}"/spaetz-offlineimap-*
+	python2 setup.py install --root="${pkgdir}" --optimize=1
+	install -Dm644 offlineimap.1 "${pkgdir}"/usr/share/man/man1/offlineimap.1
+	install -Dm644 offlineimap.conf "${pkgdir}"/usr/share/offlineimap/offlineimap.conf
+	install -Dm644 offlineimap.conf.minimal "${pkgdir}"/usr/share/offlineimap/offlineimap.conf.minimal
 }
-
-# vim:set ts=4 sw=4 et:




More information about the arch-commits mailing list