makedeb


gofile-downloader-git 0.r1.44bf74f-1


Download files from https://gofile.io

Click here to go back to the commit logs for gofile-downloader-git.

Commit:


Hash: 550bc9254a3ece5cc0c28a6749bdc623074e2f70

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e6f842d..1f78cc1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
-pkgbase = gofile-downloader-git
-	pkgdesc = Download files from https://gofile.io
-	pkgver = r17.41119d8
-	pkgrel = 1
-	url = https://github.com/ltsdw/gofile-downloader
-	arch = any
-	license = GPL3
-	makedepends = git
-	depends = python
-	depends = python-certifi
-	depends = python-charset-normalizer
-	depends = python-idna
-	depends = python-requests
-	depends = python-urllib3
-	provides = gofile-downloader
-	conflicts = gofile-downloader
-	source = git+https://github.com/ltsdw/gofile-downloader.git
-	md5sums = SKIP
-
+generated-by = makedeb
 pkgname = gofile-downloader-git
+pkgbase = gofile-downloader-git
+pkgdesc = Download files from https://gofile.io
+pkgrel = 1
+pkgver = 0.r1.44bf74f
+url = https://github.com/ltsdw/gofile-downloader
+arch = all
+conflicts = gofile-downloader
+depends = python3
+depends = python3-certifi
+depends = python3-charset-normalizer
+depends = python3-idna
+depends = python3-requests
+depends = python3-urllib3
+license = GPL3
+makedepends = git
+provides = gofile-downloader
+source = git+https://github.com/ltsdw/gofile-downloader.git
+b2sums = SKIP
+makedepends = git
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..28bb6b5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+gofile-downloader*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 0845d60..75a8ab4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
-# Maintainer: katt <magunasu.b97@gmail.com>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: katt (AUR) <magunasu.b97@gmail.com>
 
 pkgname=gofile-downloader-git
-pkgver=r17.41119d8
+pkgver=0.r1.44bf74f
 pkgrel=1
 pkgdesc='Download files from https://gofile.io'
-arch=(any)
-url=https://github.com/ltsdw/gofile-downloader
+arch=(all)
+url="https://github.com/ltsdw/${pkgname%-git}"
 license=(GPL3)
-depends=(python python-certifi python-charset-normalizer python-idna python-requests python-urllib3)
+depends=('python3' 'python3-certifi' 'python3-charset-normalizer' 'python3-idna' 'python3-requests' 'python3-urllib3')
 makedepends=(git)
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 source=(git+"${url}".git)
-md5sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
-	cd "${pkgname%-git}"
-	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  cd "${pkgname%-git}"
+  printf "0.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}"
+  cd "${srcdir}/${pkgname%-git}"
+  # script
+  install -Dm755 "${pkgname%-git}.py" "${pkgdir}/usr/bin/${pkgname%-git}"
+  # docs
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/readme"
+  _license_path="/usr/share/common-licenses/GPL-3"
+  ln -s "${_license_path}" "${pkgdir}/usr/share/doc/${_pkgname}/"
 }