diff options
author | VampireSH | 2017-05-08 16:04:57 +0800 |
---|---|---|
committer | VampireSH | 2017-05-08 16:04:57 +0800 |
commit | 7c0452a49202675f3c59b15665cd9a7d19bb7a09 (patch) | |
tree | 1d6248c8b9e6eae1c3fb1a52d0c7855606092409 | |
download | aur-7c0452a49202675f3c59b15665cd9a7d19bb7a09.tar.gz |
add aria-ng-deploy
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | aria-ng-deploy.install | 11 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..63ec910b7da8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Mon May 8 08:04:44 UTC 2017 +pkgbase = aria-ng-deploy + pkgdesc = AriaNg, A Better Web Frontend for aria2 (out of box version) + pkgver = 20170301 + pkgrel = 1 + url = https://github.com/mayswind/AriaNg-DailyBuild + install = aria-ng-deploy.install + arch = any + license = MIT + makedepends = git + depends = aria2 + conflicts = aria-ng-git + source = git://github.com/mayswind/AriaNg-DailyBuild.git + md5sums = SKIP + +pkgname = aria-ng-deploy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..181386a65306 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# MainTainer: Sherlock Holo <sherlockya(at)gmail.com> + +pkgname=aria-ng-deploy +_pkgname=AriaNg-DailyBuild +pkgver=20170301 +pkgrel=1 +pkgdesc="AriaNg, A Better Web Frontend for aria2 (out of box version)" +arch=('any') +url="https://github.com/mayswind/AriaNg-DailyBuild" +license=('MIT') +depends=('aria2') +makedepends=('git') +conflicts=('aria-ng-git') +source=("git://github.com/mayswind/AriaNg-DailyBuild.git") +md5sums=('SKIP') + +install=$pkgname.install + +package(){ + cd "$srcdir/" + + mkdir -p "$pkgdir/usr/share" + cp -r "$_pkgname" "$pkgdir/usr/share/$pkgname" +} diff --git a/aria-ng-deploy.install b/aria-ng-deploy.install new file mode 100644 index 000000000000..ec22c94030bc --- /dev/null +++ b/aria-ng-deploy.install @@ -0,0 +1,11 @@ +post_install(){ + cp -rf /usr/share/aria-ng-deploy/* /srv/http/ +} + +post_remove(){ + rm -rf /srv/http/* +} + +post_upgrade(){ + post_upgrade +} |