[arch-commits] Commit in libcork/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Feb 13 15:10:48 UTC 2017
Date: Monday, February 13, 2017 @ 15:10:47
Author: felixonmars
Revision: 212126
archrelease: copy trunk to community-i686, community-x86_64
Added:
libcork/repos/community-i686/
libcork/repos/community-i686/PKGBUILD
(from rev 212125, libcork/trunk/PKGBUILD)
libcork/repos/community-x86_64/
libcork/repos/community-x86_64/PKGBUILD
(from rev 212125, libcork/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: libcork/repos/community-i686/PKGBUILD (from rev 212125, libcork/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-02-13 15:10:47 UTC (rev 212126)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: banbanchs <memory.silentvoyage at gmail.com>
+
+pkgname=libcork
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="A simple, easily embeddable cross-platform C library"
+arch=('i686' 'x86_64')
+url="https://github.com/redjack/libcork"
+license=('BSD')
+depends=('glibc')
+makedepends=('cmake' 'check' 'git')
+checkdepends=('python')
+source=("git+https://github.com/redjack/libcork.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../libcork -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 "$srcdir"/$pkgname/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
Copied: libcork/repos/community-x86_64/PKGBUILD (from rev 212125, libcork/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-02-13 15:10:47 UTC (rev 212126)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: banbanchs <memory.silentvoyage at gmail.com>
+
+pkgname=libcork
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="A simple, easily embeddable cross-platform C library"
+arch=('i686' 'x86_64')
+url="https://github.com/redjack/libcork"
+license=('BSD')
+depends=('glibc')
+makedepends=('cmake' 'check' 'git')
+checkdepends=('python')
+source=("git+https://github.com/redjack/libcork.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../libcork -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd build
+ make test
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 "$srcdir"/$pkgname/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
More information about the arch-commits
mailing list