diff options
author | Jiuyang liu | 2020-08-24 02:03:09 +0000 |
---|---|---|
committer | Jiuyang liu | 2020-08-24 02:03:09 +0000 |
commit | b9eab4a9b2e44e2021fd1a65adb6c85802065961 (patch) | |
tree | 4447d53c2f66cddfed8b1f0677319463f28381f1 | |
parent | 36bd6a8f3322bfb59af2f216e0d9deea3bf3717d (diff) | |
download | aur-gitmirror.tar.gz |
bug fix
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -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 @@ -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') |