diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,26 +1,26 @@ -# Maintainer: zach <zach {at} zach-adams {dot} com> +# Maintainer: Frederic Bezies < fredbezies at gmail dot com > +# Contributor: zach <zach {at} zach-adams {dot} com> pkgname=imgp-git _pkgname=imgp -_pkgauthor=jarun -pkgver=141.ac30556 +pkgver=r262.9d570e3 pkgrel=1 pkgdesc="Resize or rotate JPEG and PNG images." arch=('any') -url="https://github.com/${_pkgauthor}/${_pkgname}" +url="https://github.com/jarun/${_pkgname}" license=('GPL3') depends=('python3' 'python-pillow') makedepends=('git') -source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git") +source=(${_pkgname}::"git+https://github.com/jarun/${_pkgname}.git") sha256sums=('SKIP') conflicts=('imgp') provides=('imgp') pkgver() { - cd "${srcdir}/${_pkgname}" - echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + cd "$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install + make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install } |