diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | LICENSE | 21 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | README.md | 5 |
4 files changed, 28 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = dida pkgdesc = 使用electron包装的滴答客户端 pkgver = 1.0.1.g4498dd2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jialeens/dida arch = any license = MIT diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..5460ac16e265 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 jialeens + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. @@ -2,7 +2,7 @@ pkgname=dida pkgver=1.0.1.g4498dd2 -pkgrel=1 +pkgrel=2 pkgdesc="使用electron包装的滴答客户端" arch=('any') url="https://github.com/jialeens/dida" @@ -27,14 +27,6 @@ sha256sums=("SKIP" "2900c26c1209f94033b94c38ad754aa2941f2acbf681f8c30a04f83b128d3f13" "24a3b6e4300741f8184395a9d628076205f249201658a318c1eebaec6f613884") -pkgver() { - cd "$srcdir/$pkgname" - ( set -o pipefail - git describe --long 2>/dev/null | sed 's/^v-\?//;s/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - ) -} - build() { cd "$pkgname" npm install diff --git a/README.md b/README.md new file mode 100644 index 000000000000..5abe509590ee --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# dida-package +滴答清单electron的aur构建程序 +```shell +makepkg +``` |