[arch-commits] Commit in pth/repos (core-x86_64 core-x86_64/PKGBUILD extra-x86_64)

Dave Reisner dreisner at archlinux.org
Mon Jan 16 22:52:42 UTC 2012


    Date: Monday, January 16, 2012 @ 17:52:42
  Author: dreisner
Revision: 146737

db-move: moved pth from [extra] to [core] (x86_64)

Added:
  pth/repos/core-x86_64/
  pth/repos/core-x86_64/PKGBUILD
    (from rev 146735, pth/repos/extra-x86_64/PKGBUILD)
Deleted:
  pth/repos/extra-x86_64/

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: pth/repos/core-x86_64/PKGBUILD (from rev 146735, pth/repos/extra-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2012-01-16 22:52:42 UTC (rev 146737)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: damir <damir at archlinux.org>
+
+pkgname=pth
+pkgver=2.0.7
+pkgrel=4
+pkgdesc="The GNU Portable Threads."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/pth/"
+license=('LGPL')
+depends=('glibc' 'awk')
+options=('!libtool' '!makeflags')
+source=(ftp://ftp.gnu.org/gnu/pth/$pkgname-$pkgver.tar.gz{,.sig})
+sha1sums=('9a71915c89ff2414de69fe104ae1016d513afeee'
+          '8cb16dffbf15ba92bda8d08918eaf5995642fc38')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --localstatedir=/var \
+              --mandir=/usr/share/man \
+              --disable-static \
+              --enable-shared \
+              --with-pic
+
+  sed -i "s|awk=''|awk=/bin/awk|g" shtool # "Cannot find a reasonable Awk"
+
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR=${pkgdir} install
+}




More information about the arch-commits mailing list