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

Alexander Rødseth arodseth at archlinux.org
Wed Nov 1 21:21:16 UTC 2017


    Date: Wednesday, November 1, 2017 @ 21:21:14
  Author: arodseth
Revision: 265064

upgpkg: groovy-docs 2.4.12-1

Modified:
  groovy-docs/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-01 21:18:50 UTC (rev 265063)
+++ PKGBUILD	2017-11-01 21:21:14 UTC (rev 265064)
@@ -3,22 +3,23 @@
 # Contributor: Bruce <b_a_g99 at hotmail.com>
 
 pkgname=groovy-docs
-pkgver=2.4.10
+pkgver=2.4.12
 pkgrel=1
 pkgdesc='Documentation for the Groovy programming language'
-url='http://groovy.codehaus.org/'
+url='http://groovy-lang.org/'
 license=('APACHE')
 arch=('any')
 source=("https://dl.bintray.com/groovy/maven/apache-$pkgname-$pkgver.zip")
-sha256sums=('250ded30b9fd8b6baa2652b901908229d913dab0695ee3f6244b72c871bb8fb3')
+sha256sums=('3e2c3607792d46b2007623042ab57424fb081bebd99db926f04472ee8fd9922d')
 
+prepare() {
+  find "$srcdir" -type f -exec chmod -x {} \;
+}
+
 package() {
-  cd "groovy-$pkgver"
-
   install -d "$pkgdir/usr/share/doc/groovy-$pkgver"
-  cp -r * "$pkgdir/usr/share/doc/groovy-$pkgver"
-  find "$pkgdir" -type f -exec chmod -x {} \;
+  cp -r "groovy-$pkgver" "$pkgdir/usr/share/doc/"
 }
 
 # getver: groovy-lang.org/changelogs.html
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list