[arch-commits] Commit in lmdb/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 2 06:03:40 UTC 2017


    Date: Friday, June 2, 2017 @ 06:03:39
  Author: felixonmars
Revision: 297409

upgpkg: lmdb 0.9.21-1

Modified:
  lmdb/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-02 06:01:26 UTC (rev 297408)
+++ PKGBUILD	2017-06-02 06:03:39 UTC (rev 297409)
@@ -3,7 +3,7 @@
 # Contributor: Matt Monaco <cx monaco matt>
 
 pkgname=lmdb
-pkgver=0.9.19
+pkgver=0.9.21
 pkgrel=1
 pkgdesc="Symas Lightning Memory-Mapped Database"
 arch=('i686' 'x86_64')
@@ -10,11 +10,10 @@
 url="http://symas.com/mdb"
 license=('custom:OpenLDAP')
 depends=('glibc')
-makedepends=('git')
 options=('!emptydirs')
-source=("git+https://github.com/LMDB/lmdb.git#tag=LMDB_$pkgver" lmdb.pc)
-sha256sums=('SKIP'
-            '6eed8c6fde6f5e2523099462779656f7cb92b3fc7384023d96508a6e73a730da')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/LMDB/lmdb/archive/LMDB_$pkgver.tar.gz" lmdb.pc)
+sha512sums=('e0f998507da654ccac02aa199367e8363c37f47e06ee0984085aae60fb086e49087824915bf8896f90187f1cc96e5c9caf5e5f72fa3911415151ca1e56f0309f'
+            '0349d4b08a1f93fe338d8f8e3e5a83e24211a46f999fe529bc1ac49c8c4975559d95a548c203d9427e3f82d62e934ba3cd1be6f734f9b9405b2a26477be4ed33')
 
 prepare() {
   sed -e "s|@PKGVER@|$pkgver|" -i lmdb.pc
@@ -21,22 +20,22 @@
 }
 
 build() {
-  cd "$srcdir/lmdb/libraries/liblmdb"
+  cd "$srcdir"/lmdb-LMDB_$pkgver/libraries/liblmdb
   make prefix=/usr
 }
 
 check() {
-  cd "$srcdir/lmdb/libraries/liblmdb"
+  cd "$srcdir"/lmdb-LMDB_$pkgver/libraries/liblmdb
   make test
 }
 
 package() {
-  cd "$srcdir/lmdb/libraries/liblmdb"
+  cd "$srcdir"/lmdb-LMDB_$pkgver/libraries/liblmdb
   install -dm755 "$pkgdir"/usr/{bin,lib,include,man/man1,share}
   make DESTDIR="$pkgdir" prefix=/usr install
 
-  mv "$pkgdir/usr/man" "$pkgdir/usr/share/man"
+  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
 
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm644 "$srcdir"/lmdb.pc "$pkgdir"/usr/lib/pkgconfig/lmdb.pc
 }



More information about the arch-commits mailing list