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

Guillaume Alaux guillaume at archlinux.org
Sat Aug 30 16:19:04 UTC 2014


    Date: Saturday, August 30, 2014 @ 18:19:03
  Author: guillaume
Revision: 220818

Use 'prepare' function

Modified:
  icedtea-web/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-30 16:10:24 UTC (rev 220817)
+++ PKGBUILD	2014-08-30 16:19:03 UTC (rev 220818)
@@ -19,16 +19,17 @@
 sha256sums=('03f16356fa84564f1ae32286e0a090a464c87ec123b40602dcea925757900195'
             'f929a292f1d2385b4a07ece9432a14ccba9be46a91d7b64168ddcb9a3e96302a')
 
-build() {
-  # extract it
+prepare() {
   cd "${srcdir}"
   LANG=en_US.UTF-8 bsdtar -x -f "${srcdir}"/${pkgbase}-${pkgver}.tar.gz
 
   cd "${srcdir}"/${pkgbase}-${pkgver}
-
   # FS#41639
   patch -p1 < "${srcdir}"/001_do_not_set_classpath.patch
+}
 
+build() {
+  cd "${srcdir}"/${pkgbase}-${pkgver}
   ./configure \
       --prefix=/usr/share/${pkgbase} \
       --datarootdir=/usr/share \




More information about the arch-commits mailing list