[arch-commits] Commit in brotli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 2 16:16:29 UTC 2017
Date: Saturday, December 2, 2017 @ 16:16:29
Author: felixonmars
Revision: 271896
archrelease: copy trunk to community-x86_64
Added:
brotli/repos/community-x86_64/PKGBUILD
(from rev 271895, brotli/trunk/PKGBUILD)
Deleted:
brotli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-02 16:16:04 UTC (rev 271895)
+++ PKGBUILD 2017-12-02 16:16:29 UTC (rev 271896)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: TingPing <tingping at tingping.se>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-pkgbase=brotli
-pkgname=('brotli' 'python-brotli' 'python2-brotli' 'brotli-testdata')
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='Brotli compression library'
-arch=('i686' 'x86_64')
-license=('MIT')
-url='https://github.com/google/brotli'
-depends=('gcc-libs')
-makedepends=('cmake' 'python' 'python2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/v$pkgver.tar.gz")
-sha512sums=('de6f787012243fdc5eafa559ffc765e1d69bf78cf337efdd743bb422706b5ae86b4966f07a8410165044b988b7ca2999065efc4693bda7111e53fe64917e24c0')
-
-prepare() {
- cp -a brotli-$pkgver{,-py2}
- mkdir -p build
-}
-
-build() {
- cd "$srcdir"/brotli-$pkgver
- python setup.py build
-
- cd "$srcdir"/brotli-$pkgver-py2
- python2 ./setup.py build
-
- cd "$srcdir"/build
- cmake ../brotli-$pkgver -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib"
- make
-}
-
-check() {
- cd brotli-$pkgver
- make test
-}
-
-package_brotli() {
- cd build
- make DESTDIR="$pkgdir" install
- install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-brotli() {
- depends=('python')
-
- cd brotli-$pkgver
-
- python setup.py install --skip-build -O1 --root="$pkgdir"
- install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-brotli() {
- depends=('python2')
-
- cd brotli-$pkgver-py2
-
- python2 setup.py install --skip-build -O1 --root="$pkgdir"
- install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_brotli-testdata() {
- depends=()
-
- cd brotli-$pkgver
- install -dm755 "$pkgdir"/usr/share/brotli
- cp -a tests/testdata "$pkgdir"/usr/share/brotli/
- install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: brotli/repos/community-x86_64/PKGBUILD (from rev 271895, brotli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-02 16:16:29 UTC (rev 271896)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: TingPing <tingping at tingping.se>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgbase=brotli
+pkgname=('brotli' 'python-brotli' 'python2-brotli' 'brotli-testdata')
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='Brotli compression library'
+arch=('x86_64')
+license=('MIT')
+url='https://github.com/google/brotli'
+depends=('gcc-libs')
+makedepends=('cmake' 'python' 'python2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/v$pkgver.tar.gz")
+sha512sums=('b3ec98159e63b4169dea3e958d60d89247dc1c0f78aab27bfffb2ece659fa024df990d410aa15c12b2082d42e3785e32ec248dce2b116c7f34e98bb6337f9fc9')
+
+prepare() {
+ cp -a brotli-$pkgver{,-py2}
+ mkdir -p build
+}
+
+build() {
+ cd "$srcdir"/brotli-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/brotli-$pkgver-py2
+ python2 ./setup.py build
+
+ cd "$srcdir"/build
+ cmake ../brotli-$pkgver -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib"
+ make
+}
+
+check() {
+ cd brotli-$pkgver
+ make test
+}
+
+package_brotli() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-brotli() {
+ depends=('python')
+
+ cd brotli-$pkgver
+
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-brotli() {
+ depends=('python2')
+
+ cd brotli-$pkgver-py2
+
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_brotli-testdata() {
+ depends=()
+
+ cd brotli-$pkgver
+ install -dm755 "$pkgdir"/usr/share/brotli
+ cp -a tests/testdata "$pkgdir"/usr/share/brotli/
+ install -D -m644 "$srcdir"/brotli-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list