[arch-commits] Commit in libgit2/repos (4 files)
Lukas Fleischer
lfleischer at archlinux.org
Thu Jan 12 16:58:49 UTC 2017
Date: Thursday, January 12, 2017 @ 16:58:48
Author: lfleischer
Revision: 285860
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libgit2/repos/staging-i686/
libgit2/repos/staging-i686/PKGBUILD
(from rev 285859, libgit2/trunk/PKGBUILD)
libgit2/repos/staging-x86_64/
libgit2/repos/staging-x86_64/PKGBUILD
(from rev 285859, libgit2/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: libgit2/repos/staging-i686/PKGBUILD (from rev 285859, libgit2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-01-12 16:58:48 UTC (rev 285860)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
+# Contributor: Dave Reisner <d at falconindy.com>
+
+pkgname=libgit2
+pkgver=0.25.1
+pkgrel=1
+epoch=1
+pkgdesc='A linkable library for Git'
+arch=('i686' 'x86_64')
+url='https://libgit2.github.com/'
+depends=(zlib openssl libssh2 curl)
+makedepends=(cmake python)
+license=('GPL2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz")
+sha1sums=('c65238d0e0a698b202a3a886d003228cac6dacc3')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export LANG=en_US.UTF-8
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DTHREADSAFE=ON
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Copied: libgit2/repos/staging-x86_64/PKGBUILD (from rev 285859, libgit2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-01-12 16:58:48 UTC (rev 285860)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
+# Contributor: Dave Reisner <d at falconindy.com>
+
+pkgname=libgit2
+pkgver=0.25.1
+pkgrel=1
+epoch=1
+pkgdesc='A linkable library for Git'
+arch=('i686' 'x86_64')
+url='https://libgit2.github.com/'
+depends=(zlib openssl libssh2 curl)
+makedepends=(cmake python)
+license=('GPL2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz")
+sha1sums=('c65238d0e0a698b202a3a886d003228cac6dacc3')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export LANG=en_US.UTF-8
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DTHREADSAFE=ON
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list