summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e409c1e599f453df34b6ecdea8044d02419b90fd (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
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=dnload
pkgver=r14
pkgrel=1
pkgdesc='Build small executables'
arch=('any')
url='https://github.com/faemiyah/dnload/'
license=('MIT')
depends=('python')
makedepends=('python-setuptools' 'git')

# Using alternative repository that works for Arch Linux, while waiting for pull request
#source=("git+https://github.com/faemiyah/dnload#tag=v$pkgver")
source=("dnload::git+https://github.com/xyproto/shrinky#branch=arch")

md5sums=('SKIP')

package() {
  cd "$pkgname"
  python setup.py install --optimize=1 --root "$pkgdir"
  install -Dm755 dnload.sh "$pkgdir/usr/bin/$pkgname"

  #install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 LI*E "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2 sw=2 et: