diff options
author | Magnus Boman | 2021-03-10 19:59:52 +0100 |
---|---|---|
committer | Magnus Boman | 2021-03-10 19:59:52 +0100 |
commit | 1c10f04289d536f80903acfb42d0854bfec8decf (patch) | |
tree | 27ab53f02dd798274c498699050d6d391a425111 | |
parent | abe16268893243b8d03618c7657e451b9849918f (diff) | |
download | aur-1c10f04289d536f80903acfb42d0854bfec8decf.tar.gz |
upgpkg: gallery-dl-git 1.17.0.r9.g780bac4c-1
conform to packaging guidelines
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 12 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = gallery-dl-git - pkgdesc = Command-line program to download image-galleries and collections from several image hosting sites - pkgver = 1.14.2.r14.g27d163af + pkgdesc = Command-line program to download image-galleries and collections from several image hosting sites (git) + pkgver = 1.17.0.r9.g780bac4c pkgrel = 1 url = https://github.com/mikf/gallery-dl arch = any @@ -17,4 +17,3 @@ pkgbase = gallery-dl-git md5sums = SKIP pkgname = gallery-dl-git - @@ -1,14 +1,14 @@ # Maintainer: katt <magunasu.b97@gmail.com> pkgname=gallery-dl-git -pkgver=1.14.2.r14.g27d163af +pkgver=1.17.0.r9.g780bac4c pkgrel=1 -pkgdesc='Command-line program to download image-galleries and collections from several image hosting sites' -arch=('any') -url='https://github.com/mikf/gallery-dl' -license=('GPL2') -depends=('python' 'python-requests') -makedepends=('python-setuptools' 'git') +pkgdesc='Command-line program to download image-galleries and collections from several image hosting sites (git)' +arch=(any) +url=https://github.com/mikf/gallery-dl +license=(GPL2) +depends=(python python-requests) +makedepends=(python-setuptools git) optdepends=('ffmpeg: Convert Pixiv Ugoira to WebM' 'youtube-dl: Download videos') provides=("${pkgname%-git}") @@ -17,16 +17,16 @@ source=(git+"${url}".git) md5sums=('SKIP') pkgver() { - cd "${pkgname%-git}" - git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git -C "${pkgname%-git}" describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "${pkgname%-git}" make + python setup.py build } package() { cd "${pkgname%-git}" - python setup.py install -O1 --root="$pkgdir" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |