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

Daniel Griffiths dgriffiths at archlinux.org
Mon Apr 12 02:50:40 UTC 2010


    Date: Sunday, April 11, 2010 @ 22:50:40
  Author: dgriffiths
Revision: 77353

Adopted, move to splitpkg format

Modified:
  flac/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-12 02:48:21 UTC (rev 77352)
+++ PKGBUILD	2010-04-12 02:50:40 UTC (rev 77353)
@@ -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=flac
 pkgver=1.2.1
@@ -12,18 +13,26 @@
 depends=('glibc' 'libogg')
 makedepends=('nasm' 'xmms')
 options=('!libtool' '!makeflags')
-source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz flac-1.2.1-gcc-4.3-includes.patch)
-md5sums=('153c8b15a54da428d1f0fadc756c22c7' 'b9d245422bbc547b18a72897366bea77')
-sha1sums=('bd54354900181b59db3089347cc84ad81e410b38' '7e9f8c2ef4d9daf5ddd20df63b608fe19b8c1560')
+source=(http://downloads.sf.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz 
+	flac-1.2.1-gcc-4.3-includes.patch)
+md5sums=('153c8b15a54da428d1f0fadc756c22c7' 
+	 'b9d245422bbc547b18a72897366bea77')
+sha1sums=('bd54354900181b59db3089347cc84ad81e410b38' 
+	  '7e9f8c2ef4d9daf5ddd20df63b608fe19b8c1560')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/flac-1.2.1-gcc-4.3-includes.patch" || return 1
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared --disable-sse \
-    --disable-rpath --with-pic || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+	cd ${srcdir}/${pkgname}-${pkgver}
+	patch -Np1 -i ${srcdir}/flac-1.2.1-gcc-4.3-includes.patch || return 1
+	./configure --prefix=/usr --mandir=/usr/share/man --enable-shared \
+	    --disable-sse --disable-rpath --with-pic || return 1
+	make || return 1
+}
 
-  # install license
-  install -Dm0644 COPYING.Xiph "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.Xiph" || return 1
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	make DESTDIR=${pkgdir} install || return 1
+
+	# install license
+	install -Dm0644 COPYING.Xiph \
+	    ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.Xiph || return 1
 }




More information about the arch-commits mailing list