mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
upgpkg: robotstxt 0.0.0.118-1
upstream release
This commit is contained in:
parent
15daa80f73
commit
6c613a74f6
2 changed files with 13 additions and 10 deletions
9
.SRCINFO
9
.SRCINFO
|
|
@ -1,14 +1,13 @@
|
|||
pkgbase = robotstxt
|
||||
pkgdesc = Google's robots.txt parser and matcher as a C++ library (compliant to C++11).
|
||||
pkgver = 0.0.0.102
|
||||
pkgver = 0.0.0.118
|
||||
pkgrel = 1
|
||||
url = https://github.com/google/robotstxt
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
depends = gcc-libs
|
||||
source = robotstxt-0.0.0.102.tar.gz::https://github.com/google/robotstxt/archive/a732377373e8bbee9f720b52020e2a8d5dd19cf8.tar.gz
|
||||
b2sums = cff58ea5b7c016d5aa69ccfd234041571eb692e64caf2b52044f32332b40bd0e084d201580f7374af94aae1a50c478567de795269ccb10684d0a275cb51a4ba7
|
||||
depends = abseil-cpp
|
||||
source = robotstxt-0.0.0.118.tar.gz::https://github.com/google/robotstxt/archive/ba8fa30e5be8b556e233782f91710919eb1f935f.tar.gz
|
||||
b2sums = 70036ff8d9e08bd0b511438f571cc21d8fccd5a598eaa645c4f47e6373af73678e2f82c061094cfd561e7df80ba5d28e6bd7b5c395fc51dcd1a59fc659518ae8
|
||||
|
||||
pkgname = robotstxt
|
||||
|
|
|
|||
14
PKGBUILD
14
PKGBUILD
|
|
@ -4,23 +4,26 @@
|
|||
pkgname=robotstxt
|
||||
# No released version yet, so versioned based on the number of commits.
|
||||
# Zeros to preserve numbering for any future version available.
|
||||
pkgver=0.0.0.102
|
||||
# 1.0.0 was tagged now, but it is not yet building.
|
||||
pkgver=0.0.0.118
|
||||
pkgrel=1
|
||||
pkgdesc="Google's robots.txt parser and matcher as a C++ library (compliant to C++11)."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/google/robotstxt"
|
||||
license=('Apache')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('cmake' 'git')
|
||||
_git_commit='a732377373e8bbee9f720b52020e2a8d5dd19cf8'
|
||||
depends=('abseil-cpp')
|
||||
makedepends=('cmake')
|
||||
_git_commit='ba8fa30e5be8b556e233782f91710919eb1f935f'
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/google/robotstxt/archive/$_git_commit.tar.gz")
|
||||
b2sums=('cff58ea5b7c016d5aa69ccfd234041571eb692e64caf2b52044f32332b40bd0e084d201580f7374af94aae1a50c478567de795269ccb10684d0a275cb51a4ba7')
|
||||
b2sums=('70036ff8d9e08bd0b511438f571cc21d8fccd5a598eaa645c4f47e6373af73678e2f82c061094cfd561e7df80ba5d28e6bd7b5c395fc51dcd1a59fc659518ae8')
|
||||
|
||||
build() {
|
||||
mkdir -p "$srcdir/robotstxt-$_git_commit/c-build"
|
||||
cd "$srcdir/robotstxt-$_git_commit/c-build"
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DROBOTS_SKIP_DEPS=ON \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-Wno-dev
|
||||
make
|
||||
|
|
@ -39,6 +42,7 @@ check() {
|
|||
cd "$srcdir/robotstxt-$_git_commit/c-build"
|
||||
cmake .. \
|
||||
-DROBOTS_BUILD_TESTS=ON \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-Wno-dev
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue