From 4989f4b07cbb56e6e1c7dbc14b7898e1521fcaa3 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 7 Jun 2024 09:34:08 +0000 Subject: [PATCH] better git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@175 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- PKGBUILD | 4 ++-- common.mk | 2 +- increment-PKGBUILD | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d8ac0eb..ccb2fbe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,9 +5,9 @@ pkgver='0.1.0' pkgdesc='Database System' arch=('i686' 'x86_64') license=('BSD') -pkgrel='5' +pkgrel='6' makedepends=('byacc') -source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=170') +source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=') sha256sums=('SKIP') build() { diff --git a/common.mk b/common.mk index 87248fd..015c910 100644 --- a/common.mk +++ b/common.mk @@ -129,7 +129,7 @@ get-version: echo "license=('BSD')" >> $@ echo "pkgrel='`cat increment-PKGBUILD`'" >> $@ echo "makedepends=('byacc')" >> $@ - echo "source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision="`svn info | grep "Revision" | grep -Eo "[0-9]+"`"')" >> $@ + echo "source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision="`expr $(svn info | grep "Revision" | grep -Eo "[0-9]+") + 1`"')" >> $@ echo "sha256sums=('SKIP')" >> $@ echo >> $@ echo "build() {" >> $@ diff --git a/increment-PKGBUILD b/increment-PKGBUILD index 1e8b314..7f8f011 100644 --- a/increment-PKGBUILD +++ b/increment-PKGBUILD @@ -1 +1 @@ -6 +7 -- 2.43.0