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

Daniel Griffiths dgriffiths at archlinux.org
Mon Apr 12 02:18:45 UTC 2010


    Date: Sunday, April 11, 2010 @ 22:18:45
  Author: dgriffiths
Revision: 77339

Adopted, move to splitpkg format

Modified:
  di/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-12 02:16:53 UTC (rev 77338)
+++ PKGBUILD	2010-04-12 02:18:45 UTC (rev 77339)
@@ -1,6 +1,7 @@
 # $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=di
 pkgver=4.20
@@ -16,9 +17,14 @@
 sha1sums=('610ecf26878f3c02ad7ee384d908b60549ed1f51')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make || return 1
-  make prefix="${pkgdir}/usr" install || return 1
-  ln -sf di "${pkgdir}/usr/bin/mi"
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	cd ${srcdir}/${pkgname}-${pkgver}
+	make || return 1
 }
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	make prefix=${pkgdir}/usr install || return 1
+	ln -sf di ${pkgdir}/usr/bin/mi
+	install -Dm644 LICENSE \
+		${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}




More information about the arch-commits mailing list