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

Andrea Scarpino andrea at archlinux.org
Wed Jan 5 11:07:49 EST 2011


    Date: Wednesday, January 5, 2011 @ 11:07:49
  Author: andrea
Revision: 104944

upgpkg: slim-themes 1.2.3-4
switch to arch any; remove deprecated startdir referencies; use package()

Modified:
  slim-themes/trunk/PKGBUILD

----------+
 PKGBUILD |   47 +++++++++++++++++++++++------------------------
 1 file changed, 23 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 16:07:05 UTC (rev 104943)
+++ PKGBUILD	2011-01-05 16:07:49 UTC (rev 104944)
@@ -1,12 +1,12 @@
 # $Id$
-# Maintainer : Aaron Griffin <aaron at archlinux.org>
+# Maintainer:
 # Contributor : Aaron Griffin <aaron at archlinux.org>
 
 pkgname=slim-themes
 pkgver=1.2.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Themes Pack for Simple Login Manager"
-arch=(i686 x86_64)
+arch=('any')
 url='http://slim.berlios.de'
 depends=('slim')
 license=('GPL')
@@ -32,29 +32,28 @@
          'c727aab888dde774acc04403c84b5b3b' '7a0bd7a0736794e638668769b9c4c745'
          '5f3818e01b0593d0e576fcd7e2c6bafa')
 
-options=(force)
+package() {
+  cd ${srcdir}
 
-build() {
-  mkdir -p $startdir/pkg/usr/share/slim/themes
-  cd $startdir/src/
-  mv fingerprint $startdir/pkg/usr/share/slim/themes
-  mv flat $startdir/pkg/usr/share/slim/themes
-  mv previous $startdir/pkg/usr/share/slim/themes
-  mv lake $startdir/pkg/usr/share/slim/themes
-  mv rainbow $startdir/pkg/usr/share/slim/themes
-  mv rear-window $startdir/pkg/usr/share/slim/themes
-  mv scotland-road $startdir/pkg/usr/share/slim/themes
-  mv subway $startdir/pkg/usr/share/slim/themes
-  mv wave $startdir/pkg/usr/share/slim/themes
-  mv slim-lunar-0.4 $startdir/pkg/usr/share/slim/themes/lunar
-  mv Zenwalk $startdir/pkg/usr/share/slim/themes/zenwalk
-  mv parallel-dimensions $startdir/pkg/usr/share/slim/themes
-  mv capernoited $startdir/pkg/usr/share/slim/themes
-  mv mindlock $startdir/pkg/usr/share/slim/themes
-  mv flower2 $startdir/pkg/usr/share/slim/themes
-  mv debian-moreblue $startdir/pkg/usr/share/slim/themes
+  install -d ${pkgdir}/usr/share/slim/themes
+  mv fingerprint ${pkgdir}/usr/share/slim/themes
+  mv flat ${pkgdir}/usr/share/slim/themes
+  mv previous ${pkgdir}/usr/share/slim/themes
+  mv lake ${pkgdir}/usr/share/slim/themes
+  mv rainbow ${pkgdir}/usr/share/slim/themes
+  mv rear-window ${pkgdir}/usr/share/slim/themes
+  mv scotland-road ${pkgdir}/usr/share/slim/themes
+  mv subway ${pkgdir}/usr/share/slim/themes
+  mv wave ${pkgdir}/usr/share/slim/themes
+  mv slim-lunar-0.4 ${pkgdir}/usr/share/slim/themes/lunar
+  mv Zenwalk ${pkgdir}/usr/share/slim/themes/zenwalk
+  mv parallel-dimensions ${pkgdir}/usr/share/slim/themes
+  mv capernoited ${pkgdir}/usr/share/slim/themes
+  mv mindlock ${pkgdir}/usr/share/slim/themes
+  mv flower2 ${pkgdir}/usr/share/slim/themes
+  mv debian-moreblue ${pkgdir}/usr/share/slim/themes
 
   # Some of these don't have the right permissions
-  cd $startdir/pkg/usr/share/slim/themes
+  cd ${pkgdir}/usr/share/slim/themes
   find . -type f -exec chmod 644 {} \;
 }



More information about the arch-commits mailing list