summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a615c961ee126ee198562911654e974a0554c74 (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
pkgname=dottorrent-gui
pkgver=1.3.11
pkgrel=2
arch=('x86_64')
url='https://github.com/kz26/dottorrent-gui'
license=('GPL3')
depends=('python' 'python-humanfriendly' 'python-pyqt5' 'python-pyqt5-sip' 'python-bencoder-pyx' 'python-dottorrent' 'hicolor-icon-theme')
makedepends=('python-setuptools' 'git')
pkgdesc="An advanced GUI torrent file creator with batch functionality, powered by PyQt and dottorrent"
source=("$pkgname-$pkgver::git+https://github.com/kz26/dottorrent-gui#tag=v$pkgver"
		"https://cdn-icons-png.flaticon.com/512/28/28969.png"
		"Dottorrent.desktop")
sha256sums=('2b9746a4acee9ce01f5169c4337bf0965cc78a5995f3dabc206cd7952b302a7a'
            'd52667485a2ca1cdbbad4895f0ca833e25463a9647c67cc1bd0c676733fb3289'
            'ab28e9fdda418bc03fc2182a9075008a8c21b64612b43f795ad5c2c80c52b6a1')

build() {
	cd $pkgname-$pkgver
	python setup.py build
}

package() {
	cd $pkgname-$pkgver
	python setup.py install --root="$pkgdir"
	install -Dm755 $srcdir/Dottorrent.desktop -t $pkgdir/usr/share/applications
	install -Dm644 $srcdir/28969.png $pkgdir/usr/share/hicolor/512x512/apps/dottorrent-gui.png
}