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

Felix Yan fyan at archlinux.org
Sun Sep 13 00:52:28 UTC 2015


    Date: Sunday, September 13, 2015 @ 02:52:28
  Author: fyan
Revision: 140013

upgpkg: sopel 6.0.0-1

Modified:
  sopel/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-13 00:43:53 UTC (rev 140012)
+++ PKGBUILD	2015-09-13 00:52:28 UTC (rev 140013)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=sopel
-pkgver=5.5.1
+pkgver=6.0.0
 pkgrel=1
 pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)"
 arch=('any')
@@ -17,11 +17,15 @@
             'python-pygeoip: geoip module')
 makedepends=('git' 'python-sphinx')
 checkdepends=('python-pytest' 'python-feedparser' 'python-pytz' 'python-lxml'
-              'python-pyenchant' 'python-praw' 'python-pygeoip')
-backup=('etc/willie.cfg')
+              'python-pyenchant' 'python-praw' 'python-pygeoip' 'ipython')
+backup=('etc/sopel.cfg')
 source=("git+https://github.com/sopel-irc/sopel.git#tag=$pkgver")
 md5sums=('SKIP')
 
+prepare() {
+  sed -e 's|willie|sopel|g' -e 's|Willie|Sopel|g' -i sopel/contrib/willie{.cfg,.service,.conf}
+}
+
 build() {
   cd "$srcdir/sopel"
   python setup.py build
@@ -38,8 +42,8 @@
   python setup.py install --root="${pkgdir}" --optimize=1
 
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 contrib/willie.cfg "$pkgdir/etc/willie.cfg"
-  install -Dm644 contrib/willie.service "$pkgdir/usr/lib/systemd/system/willie.service"
-  install -Dm644 contrib/willie.conf "$pkgdir/usr/lib/tmpfiles.d/willie.conf"
-  install -Dm644 docs/build/man/willie.1 "$pkgdir/usr/share/man/man1/willie.1"
+  install -Dm644 contrib/willie.cfg "$pkgdir/etc/sopel.cfg"
+  install -Dm644 contrib/willie.service "$pkgdir/usr/lib/systemd/system/sopel.service"
+  install -Dm644 contrib/willie.conf "$pkgdir/usr/lib/tmpfiles.d/sopel.conf"
+  install -Dm644 docs/build/man/sopel.1 "$pkgdir/usr/share/man/man1/sopel.1"
 }



More information about the arch-commits mailing list