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

Daniel Griffiths dgriffiths at archlinux.org
Fri Apr 2 00:51:13 UTC 2010


    Date: Thursday, April 1, 2010 @ 20:51:13
  Author: dgriffiths
Revision: 75631

Cleanup, adopted

Modified:
  aspell/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-02 00:47:22 UTC (rev 75630)
+++ PKGBUILD	2010-04-02 00:51:13 UTC (rev 75631)
@@ -1,7 +1,8 @@
 # $Id$
 # Contributor: Jochem Kossen <j.kossen at home.nl>
 # Contributor: dorphell <dorphell at archlinux.org>
-# Maintainer: Thayer Williams <thayer at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=aspell
 pkgver=0.60.6
@@ -19,13 +20,20 @@
 md5sums=('bc80f0198773d5c05086522be67334eb')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-  ln -s ${pkgname}-${_pkgmajorver} ${pkgdir}/usr/lib/${pkgname} || return 1
+	cd ${srcdir}/${pkgname}-${pkgver}
 
-  # cleanup info files
-  rm ${pkgdir}/usr/share/info/dir || return 1
-  gzip ${pkgdir}/usr/share/info/* || return 1
+	./configure --prefix=/usr || return 1
+	make || return 1
 }
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	
+	make DESTDIR=${pkgdir} install || return 1
+	ln -s ${pkgname}-${_pkgmajorver} \
+		${pkgdir}/usr/lib/${pkgname} || return 1
+
+	# cleanup info files
+	rm ${pkgdir}/usr/share/info/dir || return 1
+	gzip ${pkgdir}/usr/share/info/* || return 1
+}




More information about the arch-commits mailing list