[arch-commits] Commit in libcork/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:57:10 UTC 2018


    Date: Friday, November 9, 2018 @ 22:57:10
  Author: foutrelis
Revision: 405139

archrelease: copy trunk to community-staging-x86_64

Added:
  libcork/repos/community-staging-x86_64/
  libcork/repos/community-staging-x86_64/PKGBUILD
    (from rev 405138, libcork/trunk/PKGBUILD)

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

Copied: libcork/repos/community-staging-x86_64/PKGBUILD (from rev 405138, libcork/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:57:10 UTC (rev 405139)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: banbanchs <memory.silentvoyage at gmail.com>
+
+pkgname=libcork
+pkgver=0.15.0
+pkgrel=2
+pkgdesc="A simple, easily embeddable cross-platform C library"
+arch=('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