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

Felix Yan fyan at archlinux.org
Wed Mar 4 17:02:55 UTC 2015


    Date: Wednesday, March 4, 2015 @ 18:02:54
  Author: fyan
Revision: 232844

upgpkg: kdeutils-sweeper 14.12.3-1

Modified:
  kdeutils-sweeper/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-04 17:02:40 UTC (rev 232843)
+++ PKGBUILD	2015-03-04 17:02:54 UTC (rev 232844)
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=kdeutils-sweeper
-pkgver=14.12.2
+pkgver=14.12.3
 pkgrel=1
 pkgdesc='System Cleaner'
 url='http://kde.org/applications/utilities/sweeper'
@@ -13,11 +13,13 @@
 makedepends=('cmake' 'automoc4')
 groups=('kde' 'kdeutils')
 source=("http://download.kde.org/stable/applications/${pkgver}/src/sweeper-${pkgver}.tar.xz")
-sha1sums=('68f4b28a5f25c643aa228e1e3107495841d0ee59')
+sha1sums=('81966a624574cb75880df9a3e5bce4710920aa97')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  cd "${srcdir}"
-  mkdir build
   cd build
   cmake ../sweeper-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
@@ -27,6 +29,6 @@
 }
 
 package() {
-  cd $srcdir/build
-  make DESTDIR=$pkgdir install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list