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

Levente Polyak anthraxx at archlinux.org
Mon Apr 3 15:34:13 UTC 2017


    Date: Monday, April 3, 2017 @ 15:34:13
  Author: anthraxx
Revision: 220408

upgpkg: vicious 2.2.0-1

Modified:
  vicious/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-03 15:28:05 UTC (rev 220407)
+++ PKGBUILD	2017-04-03 15:34:13 UTC (rev 220408)
@@ -1,12 +1,12 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer
 
 pkgname=vicious
-pkgver=2.1.3
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 pkgdesc='Widgets for the Awesome window manager'
+url='https://github.com/Mic92/vicious'
 arch=('any')
-url='http://git.sysphere.org/vicious/about/'
 license=('GPL2')
 depends=('lua')
 optdepends=(
@@ -15,19 +15,16 @@
   'wireless_tools: for the Wireless widget type'
   'curl: for widget types accessing network resources'
 )
-source=("http://git.sysphere.org/vicious/snapshot/vicious-$pkgver.tar.xz")
-md5sums=('457c286dae9ec4870f3349bf7cbff0f7')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Mic92/vicious/archive/v${pkgver}.tar.gz)
+sha256sums=('93b45dca464530f8b9de7ed56bc62916bb693d587a796f8d642cd5c195eee190')
+sha512sums=('717c57b14870bb72a35c90c5356a807e2431d50f28be6e50abdbf17d39fea33c5b16ee14746726d238a80f9fe30c0ad1a6a98d6c9730e42437495656fed8cfbe')
 
 package() {
-  cd $pkgname-$pkgver
-  # Install the vicious library
-  install -dm755 "$pkgdir"/usr/share/lua/5.3/$pkgname/{widgets,contrib}
-  install -m644 *.lua "$pkgdir/usr/share/lua/5.3/$pkgname"
-  install -m644 widgets/*.lua "$pkgdir/usr/share/lua/5.3/$pkgname/widgets"
-  install -m644 contrib/*.lua "$pkgdir/usr/share/lua/5.3/$pkgname/contrib"
-  # Install documentation
-  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
-  install -m644 README CHANGES "$pkgdir/usr/share/doc/$pkgname"
+  cd ${pkgname}-$pkgver
+  install -Dm 644 *.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}"
+  install -Dm 644 widgets/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/widgets"
+  install -Dm 644 contrib/*.lua -t "${pkgdir}/usr/share/lua/5.3/${pkgname}/contrib"
+  install -Dm 644 README.md Changes.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list