[arch-commits] Commit in yajl/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 16 10:30:44 UTC 2020
Date: Saturday, May 16, 2020 @ 10:30:43
Author: felixonmars
Revision: 384146
archrelease: copy trunk to staging-x86_64
Added:
yajl/repos/staging-x86_64/
yajl/repos/staging-x86_64/PKGBUILD
(from rev 384145, yajl/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: yajl/repos/staging-x86_64/PKGBUILD (from rev 384145, yajl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 10:30:43 UTC (rev 384146)
@@ -0,0 +1,31 @@
+# Maintainer: Dave Reisner <d at falconindy.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgname=yajl
+pkgver=2.1.0
+pkgrel=3
+pkgdesc='Yet Another JSON Library'
+arch=('x86_64')
+url='https://lloyd.github.com/yajl/'
+license=('ISC')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lloyd/$pkgname/archive/$pkgver.tar.gz")
+sha512sums=('9e786d080803df80ec03a9c2f447501e6e8e433a6baf636824bc1d50ecf4f5f80d7dfb1d47958aeb0a30fe459bd0ef033d41bc6a79e1dc6e6b5eade930b19b02')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list