diff options
author | yhfudev | 2015-12-11 05:52:33 -0500 |
---|---|---|
committer | yhfudev | 2015-12-11 05:52:33 -0500 |
commit | 03714601cb255d6d692b8ff3dcf736aac539d6c9 (patch) | |
tree | 0cf44ad08c856ce528cb2b2c5166fc15929e2815 | |
parent | 7a17ff2b2f711651faf3bc1a66b5e91fb19527b8 (diff) | |
download | aur-03714601cb255d6d692b8ff3dcf736aac539d6c9.tar.gz |
update the version; update the git repo; add depends
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 27 insertions, 31 deletions
@@ -1,17 +1,22 @@ +# Generated by mksrcinfo v8 +# Fri Dec 11 10:51:51 UTC 2015 pkgbase = webui-aria2 pkgdesc = Aria2 Web UI in pure HTML/CSS/Javascirpt - pkgver = 20140225 + pkgver = r370.e48a7a7 pkgrel = 1 url = https://github.com/ziahamza/webui-aria2 install = webui-aria2.install arch = any license = MIT makedepends = git + makedepends = aria2c-daemon provides = webui-aria2 conflicts = webui-aria2 + source = webui-aria2::git+https://github.com/ziahamza/webui-aria2.git source = apache.example.conf source = nginx.example.conf source = webui-aria2.install + md5sums = SKIP md5sums = 30500125861a5a0ccf6070aaec3eba51 md5sums = 99649ccdbf8b8e17ba1a2534550a0848 md5sums = c5b1c527ba1a95cfeb4c8dd653cacd07 @@ -1,45 +1,40 @@ -# Maintainer: Yunhui Fu +# Maintainer: Yunhui Fu <yhfudev@gmail.com> pkgname="webui-aria2" -pkgver=20140225 +pkgver=r370.e48a7a7 pkgrel=1 pkgdesc="Aria2 Web UI in pure HTML/CSS/Javascirpt" arch=(any) url="https://github.com/ziahamza/webui-aria2" license=("MIT") -makedepends=("git") +makedepends=("git" "aria2c-daemon") provides=("webui-aria2") conflicts=("webui-aria2") -source=("apache.example.conf" - "nginx.example.conf" - "$pkgname.install") -install=$pkgname.install -_gitroot="https://github.com/ziahamza/webui-aria2.git" -_gitname="webui-aria2" - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." +source=( + "${pkgname}::git+https://github.com/ziahamza/webui-aria2.git" + "apache.example.conf" + "nginx.example.conf" + "$pkgname.install" + ) - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi +md5sums=('SKIP' + '30500125861a5a0ccf6070aaec3eba51' + '99649ccdbf8b8e17ba1a2534550a0848' + 'c5b1c527ba1a95cfeb4c8dd653cacd07' + ) - msg "GIT checkout done or server timeout" - msg "Starting build..." +install=$pkgname.install - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" +pkgver() { + cd "${srcdir}/${pkgname}" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } package() { - cd "$srcdir/$_gitname-build" + cd "$srcdir/${pkgname}" + msg 'Preparing package ...' mkdir -p "$pkgdir/usr/share/webapps/webui-aria2" cp -r * "$pkgdir/usr/share/webapps/webui-aria2" @@ -49,8 +44,4 @@ package() { chown http:http -R "$pkgdir/usr/share/webapps/webui-aria2" } -# vim:set ts=2 sw=2 et: -md5sums=('30500125861a5a0ccf6070aaec3eba51' - '99649ccdbf8b8e17ba1a2534550a0848' - 'c5b1c527ba1a95cfeb4c8dd653cacd07') - +# vim:set ts=2 sw=2 et:
\ No newline at end of file |