summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4c32d5e93844bfaefdc4a16aebef25d2524e868 (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
# Maintainer: Castor <whoisyoges at castorisdead dot xyz>
pkgname=onthespot-git
_pkgname=onthespot
pkgver=0.4
pkgrel=1
pkgdesc="A qt based free spotify downloader written in python."
arch=('any')
url="https://github.com/casualsnek/onthespot"
license=('GPL2')
depends=('ffmpeg' 'qt5-base')
makedepends=('git' 'python3' 'python-pip' 'bash')
provides=('onthespot')
conflicts=('onthespot-git' 'onthespot')
options=(!strip !emptydirs)
source=("${_pkgname}::git+${url}")
sha256sums=('SKIP')

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

build() {
	cd "$srcdir/$_pkgname"
	bash build_linux.sh
}

package() {
    cd "${srcdir}/$_pkgname/dist"
	install -Dm755 ./onthespot_linux "${pkgdir}/usr/local/bin/onthespot"
}