]> Nishi Git Mirror - dataworks.git/commitdiff
better
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Fri, 7 Jun 2024 09:34:08 +0000 (09:34 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Fri, 7 Jun 2024 09:34:08 +0000 (09:34 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@175 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

PKGBUILD
common.mk
increment-PKGBUILD

index d8ac0eb0154e79e497de2ddb616c3f252d328a6a..ccb2fbea7595ac54a89e0da91e318749f8509a5a 100644 (file)
--- 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() {
index 87248fd16a24a97dbedddbd579afa4ff97bd1915..015c9107e4bc1c7e5c396469e96b55042f124c4f 100644 (file)
--- 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() {" >> $@
index 1e8b314962144c26d5e0e50fd29d2ca327864913..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-6
+7