[arch-commits] Commit in (libcork libcork/repos libcork/trunk libcork/trunk/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 13 15:10:18 UTC 2017
Date: Monday, February 13, 2017 @ 15:10:17
Author: felixonmars
Revision: 212125
addpkg: libcork 0.15.0-1
Added:
libcork/
libcork/repos/
libcork/trunk/
libcork/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: libcork/trunk/PKGBUILD
===================================================================
--- libcork/trunk/PKGBUILD (rev 0)
+++ libcork/trunk/PKGBUILD 2017-02-13 15:10:17 UTC (rev 212125)
@@ -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
+}
Property changes on: libcork/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list