summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37842b2f8b30df237722f435d04fbcd55b00d7ca (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
# Maintainer: katt <magunasu.b97@gmail.com>

pkgname=gofile-downloader-git
pkgver=r37.3f15653
pkgrel=1
pkgdesc='Download files from https://gofile.io'
arch=(any)
url=https://github.com/ltsdw/gofile-downloader
license=(GPL-3.0-only)
depends=(python python-certifi python-charset-normalizer python-idna python-requests python-urllib3)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+"${url}".git)
md5sums=('SKIP')

pkgver() {
	cd "${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	install -Dm755 "${pkgname%-git}/${pkgname%-git}.py" "${pkgdir}/usr/bin/${pkgname%-git}"
}