summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 60681c7936cf500de7cd7e7505dcc66035d6d3fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: neodarz <neodarz@neodarz.net>
# Maintainer: flu
# Contributor: Guten Ye

_name="diana"
pkgname="$_name-git"
pkgver=20170508.68 
pkgrel=1
pkgdesc="A command line interface to the aria2 daemon "
arch=("any")
url="https://github.com/baskerville/diana"
license=("unknown")
depends=("aria2" "python")
makedepends=("git")
provides=("$_name")
conflicts=("$_name")
source=(git+https://github.com/baskerville/diana)
sha512sums=(SKIP)

pkgver() {
  cd   "$srcdir/$_name"
  echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
}

package() {

  cd                   "$srcdir/$_name"
  mkdir   -p           "$pkgdir/usr/bin/"

  install -Dm755 dad   "$pkgdir/usr/bin/"
  install -Dm755 diana "$pkgdir/usr/bin/"
}