From 3da3b43c561716bebe6e8929cb37c207ac697179 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 7 Jun 2024 09:31:35 +0000 Subject: [PATCH] increment git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@172 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- PKGBUILD | 2 +- common.mk | 5 ++--- increment-PKGBUILD | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 increment-PKGBUILD diff --git a/PKGBUILD b/PKGBUILD index 14ec0a6..aa77233 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgver='0.1.0' pkgdesc='Database System' arch=('i686' 'x86_64') license=('BSD') -pkgrel='1' +pkgrel='3' makedepends=('byacc') source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=170') sha256sums=('SKIP') diff --git a/common.mk b/common.mk index 9d6f9b8..28a3112 100644 --- a/common.mk +++ b/common.mk @@ -127,7 +127,7 @@ get-version: echo "pkgdesc='Database System'" >> $@ echo "arch=('i686' 'x86_64')" >> $@ echo "license=('BSD')" >> $@ - echo "pkgrel='1'" >> $@ + 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 "sha256sums=('SKIP')" >> $@ @@ -150,5 +150,4 @@ get-version: echo " ln -sf dataworks_server \$$pkgdir/usr/bin/dwserv" >> $@ echo " ln -sf dataworks \$$pkgdir/usr/bin/dw" >> $@ echo "}" >> $@ - -PKGBUILD: ./PKGBUILD + expr `cat increment-PKGBUILD` + 1 > increment-PKGBUILD diff --git a/increment-PKGBUILD b/increment-PKGBUILD new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/increment-PKGBUILD @@ -0,0 +1 @@ +4 -- 2.43.0