summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91c139acff453cf2708f10a1a8cad627ce743cb1 (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
# Maintainer: Yaohan Chen <yaohan.chen@gmail.com>

pkgname=hib-dlagent-git
_appname=hib-dlagent
pkgver=0.7.5.g1be59e8
pkgrel=1
pkgdesc='Tool to download Humble Indie Bundle binaries by file name'
arch=('any')
url='https://github.com/hagabaka/hib-dlagent'
license=('GPL2')
depends=('curl' 'python-humblebundle-git')
makedepends=('git')
provides=("$_appname")
conflicts=("$_appname")
optdepends=('gnome-keyring-query: encrypted account password support')
source=('git+https://github.com/hagabaka/hib-dlagent.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_appname"
  git describe --tags | sed 's/^v//; s/-/./g'
}

package() {
  cd "$srcdir/$_appname"
  make DESTDIR="$pkgdir" install
}