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

Jan de Groot jgc at archlinux.org
Wed Mar 8 11:52:54 UTC 2017


    Date: Wednesday, March 8, 2017 @ 11:52:54
  Author: jgc
Revision: 290123

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

Added:
  liboauth/repos/staging-i686/
  liboauth/repos/staging-i686/PKGBUILD
    (from rev 290122, liboauth/trunk/PKGBUILD)
  liboauth/repos/staging-x86_64/
  liboauth/repos/staging-x86_64/PKGBUILD
    (from rev 290122, liboauth/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: liboauth/repos/staging-i686/PKGBUILD (from rev 290122, liboauth/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-08 11:52:54 UTC (rev 290123)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Martin Häger <martin.haeger at gmail.com>
+
+pkgname=liboauth
+pkgver=1.0.3+9+g11e9461
+pkgrel=2
+pkgdesc="C library implementing OAuth Core RFC 5849"
+url="https://github.com/x42/liboauth"
+arch=(i686 x86_64)
+license=(MIT)
+depends=(curl nss)
+makedepends=(git)
+_commit=11e9461fc433e3787198f9c01a0a565a8a1f90a9
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  autoreconf -fvi
+}
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --enable-nss
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING.MIT "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: liboauth/repos/staging-x86_64/PKGBUILD (from rev 290122, liboauth/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-08 11:52:54 UTC (rev 290123)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Martin Häger <martin.haeger at gmail.com>
+
+pkgname=liboauth
+pkgver=1.0.3+9+g11e9461
+pkgrel=2
+pkgdesc="C library implementing OAuth Core RFC 5849"
+url="https://github.com/x42/liboauth"
+arch=(i686 x86_64)
+license=(MIT)
+depends=(curl nss)
+makedepends=(git)
+_commit=11e9461fc433e3787198f9c01a0a565a8a1f90a9
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  autoreconf -fvi
+}
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --enable-nss
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING.MIT "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


More information about the arch-commits mailing list