Date: Tuesday, February 22, 2011 @ 15:16:09
  Author: bisson
Revision: 110900

various cleanup

Modified:
  xclip/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-02-22 20:16:07 UTC (rev 110899)
+++ PKGBUILD    2011-02-22 20:16:09 UTC (rev 110900)
@@ -1,22 +1,26 @@
 # $Id$
-# Maintainer: damir <[email protected]>
+# Contributor: damir <[email protected]>
 # Committer: Manolis Tzanidakis <[email protected]>
+# Maintainer: Gaetan Bisson <[email protected]>
 
 pkgname=xclip
 pkgver=0.12
-pkgrel=1
-pkgdesc="A command line utility that provides interface to Xclipboard."
+pkgrel=2
+pkgdesc='Command line interface to the X11 clipboard'
 arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/xclip";
+url='http://sourceforge.net/projects/xclip'
 license=('GPL')
-depends=('libxmu' 'sh')
-source=(http://downloads.sourceforge.net/sourceforge/xclip/$pkgname-$pkgver.tar.gz)
-md5sums=('f7e19d3e976fecdc1ea36cd39e39900d')
+depends=('libxmu')
+source=("http://downloads.sourceforge.net/sourceforge/xclip/${pkgname}-${pkgver}.tar.gz";)
 sha1sums=('aed2cff18b9aecfe3377ad064c6a67518bbec211')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="$pkgdir" install || return 1
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure --prefix=/usr
+       make
 }
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+}

Reply via email to