archrelease: copy trunk to community-any
[ArchLinux/community.git] / urlscan / repos / community-any / PKGBUILD
blob3aba367241bcd09d789a21d130859fa7d505607a
1 # Maintainer: Brett Cornwall <ainola@archlinux.org>
2 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
4 pkgname=urlscan
5 pkgver=0.9.10
6 pkgrel=2
7 pkgdesc="Mutt and terminal url selector"
8 url="https://github.com/firecat53/urlscan"
9 arch=('any')
10 license=('GPL2')
11 depends=('python-urwid')
12 makedepends=('python-setuptools')
13 optdepends=(
14     'xclip: Clipboard support for X11 environments'
15     'wl-clipboard: Clipboard support for Wayland'
17 source=("$pkgname-$pkgver.tar.gz::https://github.com/firecat53/urlscan/archive/$pkgver.tar.gz")
18 sha256sums=('0fbaf7f820fc6ff20c6f1a429c98cb240f1da7eabceed5e3d88740558e81cd2d')
20 build() {
21     cd "$pkgname-$pkgver"
22     python setup.py build
25 package() {
26     cd "$pkgname-$pkgver"
27     python setup.py install --root="$pkgdir/" --optimize=1 --skip-build