summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiuyang liu2020-08-24 02:03:09 +0000
committerJiuyang liu2020-08-24 02:03:09 +0000
commitb9eab4a9b2e44e2021fd1a65adb6c85802065961 (patch)
tree4447d53c2f66cddfed8b1f0677319463f28381f1
parent36bd6a8f3322bfb59af2f216e0d9deea3bf3717d (diff)
downloadaur-gitmirror.tar.gz
bug fix
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c511ca7dc9a1..9404ee3a1ee5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,8 @@ pkgbase = gitmirror
license = BSD
makedepends = mill
depends = java-environment
- source = https+git://github.com/sequencer/gitmirror
+ source = https://github.com/sequencer/gitmirror/archive/1.0.0.tar.gz
+ md5sums = 5d41c909362b4f911077894d4b057dd5
pkgname = gitmirror
diff --git a/PKGBUILD b/PKGBUILD
index c0dae5450f16..9522745dcbfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,18 +9,18 @@ url='https://github.com/sequencer/gitmirror'
license=('BSD')
depends=('java-environment')
makedepends=('mill')
-source=("https+git://github.com/sequencer/gitmirror")
+source=("https://github.com/sequencer/gitmirror/archive/$pkgver.tar.gz")
build(){
- cd gitmirror
+ cd gitmirror-$pkgver
mill gitmirror.assembly
}
package() {
- cd gitmirror
+ cd gitmirror-$pkgver
install -Dm755 out/gitmirror/assembly/dest/out.jar "$pkgdir"/usr/bin/gitmirror
install -Dm600 config.json $pkgdir/etc/$pkgname/config.json
install -Dm755 gitmirror.service $pkgdir/usr/lib/systemd/system/gitmirror.service
install -Dm755 gitmirror.timer $pkgdir/usr/lib/systemd/system/gitmirror.timer
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
+md5sums=('5d41c909362b4f911077894d4b057dd5')