summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJiuyang liu2020-08-24 02:03:09 +0000
committerJiuyang liu2020-08-24 02:03:09 +0000
commitb9eab4a9b2e44e2021fd1a65adb6c85802065961 (patch)
tree4447d53c2f66cddfed8b1f0677319463f28381f1 /PKGBUILD
parent36bd6a8f3322bfb59af2f216e0d9deea3bf3717d (diff)
downloadaur-gitmirror.tar.gz
bug fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
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')