[arch-commits] Commit in pth/repos (4 files)

Dan McGee dan at nymeria.archlinux.org
Wed Jan 8 03:10:31 UTC 2014


    Date: Wednesday, January 8, 2014 @ 04:10:31
  Author: dan
Revision: 203327

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pth/repos/testing-i686/
  pth/repos/testing-i686/PKGBUILD
    (from rev 203326, pth/trunk/PKGBUILD)
  pth/repos/testing-x86_64/
  pth/repos/testing-x86_64/PKGBUILD
    (from rev 203326, pth/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: pth/repos/testing-i686/PKGBUILD (from rev 203326, pth/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-01-08 03:10:31 UTC (rev 203327)
@@ -0,0 +1,42 @@
+# $Id$
+
+pkgname=pth
+pkgver=2.0.7
+pkgrel=5
+pkgdesc="The GNU Portable Threads."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/pth/"
+license=('LGPL')
+depends=('glibc' 'awk')
+options=('!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
+}

Copied: pth/repos/testing-x86_64/PKGBUILD (from rev 203326, pth/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-01-08 03:10:31 UTC (rev 203327)
@@ -0,0 +1,42 @@
+# $Id$
+
+pkgname=pth
+pkgver=2.0.7
+pkgrel=5
+pkgdesc="The GNU Portable Threads."
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/pth/"
+license=('LGPL')
+depends=('glibc' 'awk')
+options=('!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