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

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 2 07:53:50 EDT 2013


    Date: Thursday, May 2, 2013 @ 13:53:49
  Author: arodseth
Revision: 89802

Added a prepare() function

Modified:
  pekwm/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-02 11:52:16 UTC (rev 89801)
+++ PKGBUILD	2013-05-02 11:53:49 UTC (rev 89802)
@@ -5,7 +5,7 @@
 
 pkgname=pekwm
 pkgver=0.1.16
-pkgrel=3
+pkgrel=4
 pkgdesc='Small, fast, functional, and flexible window manager'
 arch=('x86_64' 'i686')
 license=('GPL')
@@ -27,16 +27,20 @@
         etc/pekwm/mouse_system
         etc/pekwm/start
         etc/pekwm/vars)
-source=("http://www.pekwm.org/projects/pekwm/files/${pkgname}-${pkgver}.tar.bz2"
+source=("http://www.pekwm.org/projects/pekwm/files/$pkgname-$pkgver.tar.bz2"
         "${pkgname}_kdm.desktop")
 sha256sums=('899eef35d5d1f472dd65a08c180b9719935cb1f42eda7fada6f9b8b551c79c96'
             '4c1817d328dad84407c9ba7219015eb3be0345be9e98fc03fa693b6b443a8dc6')
 
-build() {
+prepare() {
   cd "$srcdir"
+
   gendesk
+}
 
-  cd "$pkgname-$pkgver"
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }



More information about the arch-commits mailing list